Fixed issue #537. Valentina crashes when use undo command.
--HG-- branch : feature
This commit is contained in:
parent
ec2597fe41
commit
e226e3ce24
|
@ -2261,6 +2261,7 @@ void MainWindow::Clear()
|
||||||
qt_ntfs_permission_lookup--; // turn it off again
|
qt_ntfs_permission_lookup--; // turn it off again
|
||||||
#endif /*Q_OS_WIN32*/
|
#endif /*Q_OS_WIN32*/
|
||||||
qApp->getUndoStack()->clear();
|
qApp->getUndoStack()->clear();
|
||||||
|
toolOptions->ClearPropertyBrowser();
|
||||||
toolOptions->itemClicked(nullptr);
|
toolOptions->itemClicked(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user