Merge pull request #4734 from wavexx/fix_new_instance_shortcut
Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
This commit is contained in:
commit
d4c949dab6
@ -132,6 +132,7 @@ void KBShortcutsDialog::fill_shortcuts()
|
|||||||
{ ctrl + "5", L("Switch to 3D") },
|
{ ctrl + "5", L("Switch to 3D") },
|
||||||
{ ctrl + "6", L("Switch to Preview") },
|
{ ctrl + "6", L("Switch to Preview") },
|
||||||
{ ctrl + "J", L("Print host upload queue") },
|
{ ctrl + "J", L("Print host upload queue") },
|
||||||
|
{ ctrl + "Shift+" + "I", L("Open new instance") },
|
||||||
// View
|
// View
|
||||||
{ "0-6", L("Camera view") },
|
{ "0-6", L("Camera view") },
|
||||||
{ "E", L("Show/Hide object/instance labels") },
|
{ "E", L("Show/Hide object/instance labels") },
|
||||||
|
@ -1191,9 +1191,8 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
[this](wxCommandEvent&) { m_printhost_queue_dlg->Show(); }, "upload_queue", nullptr, []() {return true; }, this);
|
[this](wxCommandEvent&) { m_printhost_queue_dlg->Show(); }, "upload_queue", nullptr, []() {return true; }, this);
|
||||||
|
|
||||||
windowMenu->AppendSeparator();
|
windowMenu->AppendSeparator();
|
||||||
append_menu_item(windowMenu, wxID_ANY, _L("Open new instance") + "\tCtrl+I", _L("Open a new PrusaSlicer instance"),
|
append_menu_item(windowMenu, wxID_ANY, _L("Open new instance") + "\tCtrl+Shift+I", _L("Open a new PrusaSlicer instance"),
|
||||||
[this](wxCommandEvent&) { start_new_slicer(); }, "", nullptr, [this]() {return m_plater != nullptr && wxGetApp().app_config->get("single_instance") != "1"; }, this);
|
[this](wxCommandEvent&) { start_new_slicer(); }, "", nullptr, [this]() {return m_plater != nullptr && wxGetApp().app_config->get("single_instance") != "1"; }, this);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// View menu
|
// View menu
|
||||||
|
Loading…
Reference in New Issue
Block a user