FIX:fix bug of shortcut key
jira: STUDIO-7252 Change-Id: Ic5bfbc0ffe0ad096b99df53f0aff36c7ebf0c1b4 (cherry picked from commit 17867078f062b3b879d47eea6be3e16b1e055fbd)
This commit is contained in:
parent
2822ac102b
commit
5af9cd3a23
|
@ -213,7 +213,11 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
{L("Del"), L("Delete selected")},
|
{L("Del"), L("Delete selected")},
|
||||||
#endif
|
#endif
|
||||||
// Help
|
// Help
|
||||||
{ "?", L("Show keyboard shortcuts list") }
|
#ifdef __WINDOWS__
|
||||||
|
{ "Shift+Alt+?", L("Show keyboard shortcuts list") }
|
||||||
|
#else
|
||||||
|
{"Shift+?", L("Show keyboard shortcuts list")}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
m_full_shortcuts.push_back({{_L("Global shortcuts"), ""}, global_shortcuts});
|
m_full_shortcuts.push_back({{_L("Global shortcuts"), ""}, global_shortcuts});
|
||||||
|
|
||||||
|
@ -264,14 +268,8 @@ void KBShortcutsDialog::fill_shortcuts()
|
||||||
|
|
||||||
Shortcuts gizmos_shortcuts = {
|
Shortcuts gizmos_shortcuts = {
|
||||||
{"Esc", L("Deselect all")},
|
{"Esc", L("Deselect all")},
|
||||||
{L("Shift+"), L("Move: press to snap by 1mm")},
|
{ctrl + L("Mouse wheel"), L("Support/Color Painting: adjust pen radius")},
|
||||||
#ifdef __APPLE__
|
{alt + L("Mouse wheel"), L("Support/Color Painting: adjust section position")},
|
||||||
{L("⌘+Mouse wheel"), L("Support/Color Painting: adjust pen radius")},
|
|
||||||
{L("⌥+Mouse wheel"), L("Support/Color Painting: adjust section position")},
|
|
||||||
#else
|
|
||||||
{L("Ctrl+Mouse wheel"), L("Support/Color Painting: adjust pen radius")},
|
|
||||||
{L("Alt+Mouse wheel"), L("Support/Color Painting: adjust section position")},
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
m_full_shortcuts.push_back({{_L("Gizmo"), ""}, gizmos_shortcuts});
|
m_full_shortcuts.push_back({{_L("Gizmo"), ""}, gizmos_shortcuts});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue