forked from qt-creator/qt-creator
Text editor: Clear undo/redo stack after loading chunks
Reviewed-by: Thorbjorn Lindeijer
This commit is contained in:
@@ -531,6 +531,7 @@ bool BaseTextDocument::open(const QString &fileName)
|
||||
interface.setProgressValue(i + 1);
|
||||
QApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
|
||||
}
|
||||
d->m_document->clearUndoRedoStacks();
|
||||
interface.reportFinished();
|
||||
}
|
||||
BaseTextDocumentLayout *documentLayout =
|
||||
|
||||
Reference in New Issue
Block a user