Switch to PartDesign workbench as soon as a PartDesign feature is edited
This commit is contained in:
committed by
Stefan Tröger
parent
0fd0a5d605
commit
9ca63b603a
@@ -46,6 +46,9 @@ bool ViewProviderMultiTransform::setEdit(int ModNum)
|
||||
TaskDlgMultiTransformParameters *multitransformDlg = NULL;
|
||||
|
||||
if (checkDlgOpen(multitransformDlg)) {
|
||||
// always change to PartDesign WB, remember where we come from
|
||||
oldWb = Gui::Command::assureWorkbench("PartDesignWorkbench");
|
||||
|
||||
// start the edit dialog
|
||||
if (multitransformDlg)
|
||||
Gui::Control().showDialog(multitransformDlg);
|
||||
|
||||
Reference in New Issue
Block a user