From e5a1f3b4963b065736701c41c72cffaaa34ae752 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 14 Jan 2019 00:47:22 +0100 Subject: [PATCH] fixes 0003700: Tree object deletion possible with keyboard but not right-click menu in Part Design --- src/Mod/PartDesign/Gui/Workbench.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index e4ac456463..1d606ebc5f 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -227,7 +227,12 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con if (Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0) { *item << "Std_SetAppearance" - << "Std_RandomColor"; + << "Std_RandomColor" + << "Std_Cut" + << "Std_Copy" + << "Std_Paste" + << "Separator" + << "Std_Delete"; } } }