Commit 33215352 authored by Nikita Sirgienko's avatar Nikita Sirgienko

Fix bug with losing LaTeX typesetting after backend restart

BUG: 394003
FIXED-IN: 18.12
parent d60219bf
......@@ -22,3 +22,4 @@ Bug fixes:
* BUG 363606 - [Python] Different python sessions shouldn't share the same variables
* BUG 372075 - [Python] Don't exit Cantor on calling exit() in python sessions
* BUG 395213 - [R] Add rehighlighting for entries after execution in R backend
* BUG 394003 - [Maxima] Loosing LaTeX output after backend restarting
......@@ -580,7 +580,7 @@ void CantorPart::restartBackend()
if (restart)
{
m_worksheet->session()->logout();
m_worksheet->session()->login();
m_worksheet->loginToSession();
}
}
......
......@@ -62,6 +62,8 @@ class Worksheet : public QGraphicsScene
Cantor::Session* session();
void loginToSession();
bool isRunning();
bool isReadOnly();
bool showExpressionIds();
......@@ -229,7 +231,6 @@ class Worksheet : public QGraphicsScene
void keyPressEvent(QKeyEvent*) override;
private Q_SLOTS:
void loginToSession();
void showCompletion();
//void checkEntriesForSanity();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment