Merged in ValentinaZhuravska/valentina/feature (pull request #136)

Fixed issue #537. Valentina crashes when use undo command.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-08-12 12:43:53 +03:00
commit 14b210b3d6
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@
- Fixed Bisector tool bug. The tool created internal variable for wrong segment.
- [#526] Dialog Detail is not on top after selection second object on Mac.
- [#532] Unexpected error occurs when zoom out image.
- [#537] Valentina crashes when use undo command.
# Version 0.4.4 April 12, 2016
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.

View file

@ -2261,6 +2261,7 @@ void MainWindow::Clear()
qt_ntfs_permission_lookup--; // turn it off again
#endif /*Q_OS_WIN32*/
qApp->getUndoStack()->clear();
toolOptions->ClearPropertyBrowser();
toolOptions->itemClicked(nullptr);
}