Commit 37bc20d7 authored by C. Boemann's avatar C. Boemann

Disable the undo recording during load so the kotexteditor is in sync with

the app's undostack.
This fixes a crash during round trip testing
parent 34aae67a
...@@ -519,6 +519,7 @@ KUndo2QStack::~KUndo2QStack() ...@@ -519,6 +519,7 @@ KUndo2QStack::~KUndo2QStack()
void KUndo2QStack::clear() void KUndo2QStack::clear()
{ {
qDebug()<<"clearing undostack";
if (m_command_list.isEmpty()) if (m_command_list.isEmpty())
return; 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