PrintHost: Add upload queue keyboard shortcut

This commit is contained in:
Vojtech Kral 2019-01-10 17:52:14 +01:00
parent 2a896e6ba1
commit 6fc1e5e6b6
2 changed files with 2 additions and 1 deletions

View File

@ -115,6 +115,7 @@ void KBShortcutsDialog::fill_shortcuts()
main_shortcuts.push_back(Shortcut(ctrl+"5" ,L("Switch to 3D"))); main_shortcuts.push_back(Shortcut(ctrl+"5" ,L("Switch to 3D")));
main_shortcuts.push_back(Shortcut(ctrl+"6" ,L("Switch to Preview"))); main_shortcuts.push_back(Shortcut(ctrl+"6" ,L("Switch to Preview")));
main_shortcuts.push_back(Shortcut(ctrl+"P" ,L("Preferences"))); main_shortcuts.push_back(Shortcut(ctrl+"P" ,L("Preferences")));
main_shortcuts.push_back(Shortcut(ctrl+"J" ,L("Print host upload queue")));
main_shortcuts.push_back(Shortcut("0-6" ,L("Camera view "))); main_shortcuts.push_back(Shortcut("0-6" ,L("Camera view ")));
main_shortcuts.push_back(Shortcut("+" ,L("Add Instance to selected object "))); main_shortcuts.push_back(Shortcut("+" ,L("Add Instance to selected object ")));
main_shortcuts.push_back(Shortcut("-" ,L("Remove Instance from selected object"))); main_shortcuts.push_back(Shortcut("-" ,L("Remove Instance from selected object")));

View File

@ -363,7 +363,7 @@ void MainFrame::init_menubar()
#endif // _WIN32 #endif // _WIN32
windowMenu->AppendSeparator(); windowMenu->AppendSeparator();
append_menu_item(windowMenu, wxID_ANY, L("Print Host Upload Queue"), L("Display the Print Host Upload Queue window"), append_menu_item(windowMenu, wxID_ANY, L("Print Host Upload Queue\tCtrl+J"), L("Display the Print Host Upload Queue window"),
[this](wxCommandEvent&) { m_printhost_queue_dlg->Show(); }, "arrow_up.png"); [this](wxCommandEvent&) { m_printhost_queue_dlg->Show(); }, "arrow_up.png");
} }