mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 20:32:43 -07:00
Replace F5 with Ctrl+Shift+R as shortcut key for reload from disk commands on MAC
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user