Fix bug in workbench
This commit is contained in:
committed by
Stefan Tröger
parent
579ea3fcd5
commit
3d4c853def
@@ -78,7 +78,8 @@ bool ViewProvider::doubleClicked(void)
|
||||
void ViewProvider::unsetEdit(int ModNum)
|
||||
{
|
||||
// return to the WB we were in before editing the PartDesign feature
|
||||
Gui::Command::assureWorkbench(oldWb.c_str());
|
||||
if (!oldWb.empty())
|
||||
Gui::Command::assureWorkbench(oldWb.c_str());
|
||||
|
||||
if (ModNum == ViewProvider::Default) {
|
||||
// when pressing ESC make sure to close the dialog
|
||||
|
||||
Reference in New Issue
Block a user