Commit 09cba16e authored by Alexander Semke's avatar Alexander Semke
Browse files

Remove the wait cursor prior to showing the message box on LaTeX errors in Jupytor notebooks.

parent acff7e32
......@@ -581,7 +581,10 @@ void MarkdownEntry::handleMathRender(QSharedPointer<MathRenderResult> result)
if (!result->successful)
{
if (Settings::self()->showMathRenderError())
{
QApplication::restoreOverrideCursor();
KMessageBox::error(worksheetView(), result->errorMessage, i18n("Cantor Math Error"));
}
else
qDebug() << "MarkdownEntry: math render failed with message" << result->errorMessage;
return;
......
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