Removed the "Quick Slice" menu items from the main menu,

a little bit of code cleaning / refactoring.
This commit is contained in:
bubnikv 2018-12-06 14:47:53 +01:00
parent edc306db45
commit 79986188a7
7 changed files with 8 additions and 37 deletions
src/slic3r/GUI

View file

@ -262,6 +262,7 @@ void MainFrame::init_menubar()
fileMenu->AppendSeparator();
#if 0
m_menu_item_repeat = nullptr;
append_menu_item(fileMenu, wxID_ANY, _(L("Quick Slice…\tCtrl+U")), _(L("Slice a file into a G-code")),
[this](wxCommandEvent&) {
@ -282,6 +283,7 @@ void MainFrame::init_menubar()
}); }, "cog_go.png");
m_menu_item_repeat->Enable(false);
fileMenu->AppendSeparator();
#endif
m_menu_item_reslice_now = append_menu_item(fileMenu, wxID_ANY, _(L("(Re)Slice Now\tCtrl+R")), _(L("Start new slicing process")),
[this](wxCommandEvent&) { reslice_now(); }, "shape_handles.png");
fileMenu->AppendSeparator();