Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
"Open new instance" overrider the "import" shortcut. Use Ctrl+Shift+I for new instance, which is definitely less important than importing new models. Also document the shortcut in the Keyboard shortcuts dialog. Fixes #4711
This commit is contained in:
parent
6eee0c043c
commit
1fd54938ef
@ -136,6 +136,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") },
|
||||||
|
@ -1256,9 +1256,8 @@ void MainFrame::init_menubar()
|
|||||||
[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