Shortcut keys issue

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
T.J. McGrath-Daly
2021-10-15 10:58:31 +08:00
parent ce709b99d0
commit 5231cb9b53
@@ -532,7 +532,7 @@ namespace EMStudio
QAction* characterLayoutAction = new QAction(
"Character",
this);
characterLayoutAction->setShortcut(Qt::Key_1 | Qt::AltModifier);
characterLayoutAction->setShortcut(Qt::Key_3 | Qt::AltModifier);
m_shortcutManager->RegisterKeyboardShortcut(characterLayoutAction, layoutGroupName, false);
connect(characterLayoutAction, &QAction::triggered, [this]{ m_applicationMode->setCurrentIndex(2); });
addAction(characterLayoutAction);