PartDesign: Extend context menu when right-clicking on 3d view in PD workbench
This commit is contained in:
@@ -236,6 +236,12 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (strcmp(recipient, "View") == 0) {
|
||||
if (item->hasItems())
|
||||
*item << "Separator";
|
||||
Gui::StdWorkbench::setupContextMenu(recipient, item);
|
||||
}
|
||||
}
|
||||
|
||||
void Workbench::activated()
|
||||
|
||||
Reference in New Issue
Block a user