Skip to content

Commit

Permalink
[Sketcher] Remove 'Hexagonal profile' menu ; fixes #4290
Browse files Browse the repository at this point in the history
 Menu creation has been removed (commented) but all other profile feature are kept
 for compatibility.
  • Loading branch information
0penBrain committed Mar 19, 2020
1 parent d496e71 commit 23dd97a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Mod/Sketcher/Gui/Workbench.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit 23dd97a

Please sign in to comment.