+ fixes #0001549: crash with Draft move tool while sketch is in edit mode

This commit is contained in:
wmayer
2014-05-20 15:25:03 +02:00
parent 5fed27a003
commit 05e8a4f74c
16 changed files with 51 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ bool ViewProviderRevolution::setEdit(int ModNum)
msgBox.setDefaultButton(QMessageBox::Yes);
int ret = msgBox.exec();
if (ret == QMessageBox::Yes)
Gui::Control().closeDialog();
Gui::Control().reject();
else
return false;
}