Commit dbbc3c4e authored by Nikita Sirgienko's avatar Nikita Sirgienko

Fix minor bug with unavailable save button, when first runned entry have finished with error

parent fcc212bb
......@@ -795,6 +795,10 @@ void CommandEntry::expressionChangedStatus(Cantor::Expression::Status status)
m_errorItem->setHtml(i18n("Interrupted"));
recalculateSize();
// Mostly we handle setting of modification in WorksheetEntry inside ::evaluateNext.
// But command entry wouldn't triger ::evaluateNext for Error and Interrupted states
// So, we set it here
worksheet()->setModified();
break;
case Cantor::Expression::Done:
m_promptItemAnimation->stop();
......
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