mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Replace F5 with Ctrl+Shift+R as shortcut key for reload from disk commands on MAC
This commit is contained in:
parent
ac05849582
commit
10be5d1361
2 changed files with 30 additions and 2 deletions
|
@ -118,7 +118,11 @@ void KBShortcutsDialog::fill_shortcuts()
|
|||
{ ctrl + "Y", L("Redo") },
|
||||
{ ctrl + "C", L("Copy to clipboard") },
|
||||
{ ctrl + "V", L("Paste from clipboard") },
|
||||
#ifdef __APPLE__
|
||||
{ ctrl + "Shift+" + "R", L("Reload plater from disk") },
|
||||
#else
|
||||
{ "F5", L("Reload plater from disk") },
|
||||
#endif // __APPLE__
|
||||
{ ctrl + "F", L("Search") },
|
||||
// Window
|
||||
{ ctrl + "1", L("Select Plater Tab") },
|
||||
|
@ -201,6 +205,18 @@ void KBShortcutsDialog::fill_shortcuts()
|
|||
|
||||
m_full_shortcuts.push_back(std::make_pair(_L("Gizmos"), gizmos_shortcuts));
|
||||
}
|
||||
else {
|
||||
Shortcuts commands_shortcuts = {
|
||||
{ ctrl + "O", L("Open a G-code file") },
|
||||
#ifdef __APPLE__
|
||||
{ ctrl + "Shift+" + "R", L("Reload the plater from disk") },
|
||||
#else
|
||||
{ "F5", L("Reload plater from disk") },
|
||||
#endif // __APPLE__
|
||||
};
|
||||
|
||||
m_full_shortcuts.push_back(std::make_pair(_L("Commands"), commands_shortcuts));
|
||||
}
|
||||
|
||||
Shortcuts preview_shortcuts = {
|
||||
#if ENABLE_ARROW_KEYS_WITH_SLIDERS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue