UI: ProgramEditDialog: Set "Ctrl+O" shortcut to "Advanced Options" menu

This commit is contained in:
Nodir Temirkhodjaev 2024-02-02 11:49:05 +03:00
parent 58981d1062
commit 7c2af27850

View File

@ -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);
}