From 71d4eedf0ad51f834c8759d0d43ccb85ecd8de5b Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 19 Mar 2020 19:54:41 +0100 Subject: [PATCH] [Sketcher] Remove 'Hexagonal profile' menu ; fixes #4290 Menu creation has been removed (commented) but all other profile feature are kept for compatibility. --- src/Mod/Sketcher/Gui/Workbench.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mod/Sketcher/Gui/Workbench.cpp b/src/Mod/Sketcher/Gui/Workbench.cpp index d870eadcd8..6cb4e45c96 100644 --- a/src/Mod/Sketcher/Gui/Workbench.cpp +++ b/src/Mod/Sketcher/Gui/Workbench.cpp @@ -58,16 +58,17 @@ Gui::MenuItem* Workbench::setupMenuBar() const Gui::MenuItem* item = root->findItem("&Windows"); // == Profile menu ========================================== - Gui::MenuItem* profile = new Gui::MenuItem; +/* Gui::MenuItem* profile = new Gui::MenuItem; root->insertItem(item, profile); profile->setCommand("P&rofiles"); - *profile << "Sketcher_ProfilesHexagon1"; + *profile << "Sketcher_ProfilesHexagon1";*/ // == Sketcher menu ========================================== Gui::MenuItem* sketch = new Gui::MenuItem; - root->insertItem(profile, sketch); +// root->insertItem(profile, sketch); + root->insertItem(item, sketch); sketch->setCommand("S&ketch"); Gui::MenuItem* geom = new Gui::MenuItem(); geom->setCommand("Sketcher geometries");