mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-25 09:50:59 +00:00
Merge branch 'main' into feat/printer-agent-infra
This commit is contained in:
@@ -1189,6 +1189,8 @@ void MainFrame::shutdown()
|
||||
if (m_project != nullptr)
|
||||
m_project->shutdown();
|
||||
m_plugin_pages.shutdown();
|
||||
if (m_plater != nullptr)
|
||||
m_plater->remove_dock_panes();
|
||||
#ifdef __WXGTK__
|
||||
// Edge panels are child windows — wxWidgets destroys them automatically.
|
||||
m_edge_bottom = nullptr;
|
||||
@@ -3424,11 +3426,6 @@ void MainFrame::init_menubar_as_editor()
|
||||
wxGetApp().open_preferences();
|
||||
},
|
||||
"", nullptr, []() { return true; }, this, 1);
|
||||
parent_menu->AppendSeparator();
|
||||
append_shortcut_item(
|
||||
parent_menu, Shortcut::SpeedDial, false, _L("Open speed dial..."), "",
|
||||
[](wxCommandEvent &) { wxGetApp().open_speed_dial(); },
|
||||
"", nullptr, []() { return true; }, this);
|
||||
//parent_menu->Insert(1, preference_item);
|
||||
#endif
|
||||
// Help menu
|
||||
@@ -3454,7 +3451,7 @@ void MainFrame::init_menubar_as_editor()
|
||||
top_menu->AppendSeparator();
|
||||
|
||||
append_shortcut_item(
|
||||
top_menu, Shortcut::SpeedDial, false, _L("Open speed dial..."), "",
|
||||
top_menu, Shortcut::SpeedDial, false, _L("Open Speed Dial"), "",
|
||||
[](wxCommandEvent &) { wxGetApp().open_speed_dial(); },
|
||||
"", nullptr, []() { return true; }, this);
|
||||
top_menu->AppendSeparator();
|
||||
@@ -3561,7 +3558,7 @@ void MainFrame::init_menubar_as_editor()
|
||||
// On Mac, the Apple menu ignores non-standard custom items, so add Preset Bundle to the File menu
|
||||
fileMenu->AppendSeparator();
|
||||
append_shortcut_item(
|
||||
fileMenu, Shortcut::SpeedDial, false, _L("Open speed dial..."), "",
|
||||
fileMenu, Shortcut::SpeedDial, false, _L("Open Speed Dial"), "",
|
||||
[](wxCommandEvent&) { wxGetApp().open_speed_dial(); },
|
||||
"", nullptr, []() { return true; }, this);
|
||||
append_menu_item(
|
||||
|
||||
Reference in New Issue
Block a user