From 7c2af278503b47fe8a877ead7cc036557f6471ef Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Fri, 2 Feb 2024 11:49:05 +0300 Subject: [PATCH] UI: ProgramEditDialog: Set "Ctrl+O" shortcut to "Advanced Options" menu --- src/ui/form/prog/programeditdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/form/prog/programeditdialog.cpp b/src/ui/form/prog/programeditdialog.cpp index bbaaf71b..f965efbc 100644 --- a/src/ui/form/prog/programeditdialog.cpp +++ b/src/ui/form/prog/programeditdialog.cpp @@ -494,6 +494,7 @@ void ProgramEditDialog::setupAdvancedOptions() auto menu = ControlUtil::createMenuByLayout(layout, this); m_btOptions = ControlUtil::createButton(":/icons/widgets.png"); + m_btOptions->setShortcut(QKeyCombination(Qt::CTRL, Qt::Key_O)); m_btOptions->setMenu(menu); }