Commit bc249bae authored by Alexander Semke's avatar Alexander Semke
Browse files

Correctly restore the embedded images for mathematical formulas after

Escape was pressed in MarkdownEntry.
parent 0e70a54b
......@@ -474,7 +474,13 @@ bool MarkdownEntry::eventFilter(QObject* object, QEvent* event)
if (key_event->matches(QKeySequence::Cancel))
for (auto iter = foundMath.begin(); iter != foundMath.end(); iter++)
iter->second = false;
rendered = true;
if (worksheet()->embeddedMathEnabled())
return true;
Supports Markdown
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