FIX: some keyboard shortcut isn't correct on MacOS

jira: STUDIO-5839

Change-Id: Ib6450124fb0b22ba225ce3f87e0d03cdaf89ba5f
This commit is contained in:
liz.li 2024-03-05 14:34:57 +08:00 committed by Lane.Wei
parent 117a2aa2d9
commit 8edc3c6b47
1 changed files with 8 additions and 2 deletions

View File

@ -190,11 +190,17 @@ void KBShortcutsDialog::fill_shortcuts()
{ ctrl + "C", L("Copy to clipboard") },
{ ctrl + "V", L("Paste from clipboard") },
// Configuration
#ifdef __APPLE__
{ ctrl + ",", L("Preferences") },
#else
{ ctrl + "P", L("Preferences") },
#endif
//3D control
{ ctrl + "M", L("Show/Hide 3Dconnexion devices settings dialog") },
// Switch table page
{ ctrl + "Tab", L("Switch table page")},
#ifndef __APPLE__
{ ctrl + "Tab", L("Switch tab page")},
#endif
//DEL
#ifdef __APPLE__
{"fn+⌫", L("Delete selected")},