From a890ec47ddf96bd7b645ec301482945c88dd6e3a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 12 Aug 2016 17:38:01 +0300 Subject: [PATCH] Fixed issue #537. Valentina crashes when use undo command. (grafted from b9726acb2bb6b7bd606d6ecc96e6498f093c1861) --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index b509fe7bd..452651d18 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -2445,6 +2445,7 @@ void MainWindow::Clear() qt_ntfs_permission_lookup--; // turn it off again #endif /*Q_OS_WIN32*/ qApp->getUndoStack()->clear(); + toolOptions->ClearPropertyBrowser(); toolOptions->itemClicked(nullptr); }