mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:56:22 +00:00
UI: ProgramEditDialog: Set "Ctrl+O" shortcut to "Advanced Options" menu
This commit is contained in:
parent
58981d1062
commit
7c2af27850
@ -494,6 +494,7 @@ void ProgramEditDialog::setupAdvancedOptions()
|
|||||||
auto menu = ControlUtil::createMenuByLayout(layout, this);
|
auto menu = ControlUtil::createMenuByLayout(layout, this);
|
||||||
|
|
||||||
m_btOptions = ControlUtil::createButton(":/icons/widgets.png");
|
m_btOptions = ControlUtil::createButton(":/icons/widgets.png");
|
||||||
|
m_btOptions->setShortcut(QKeyCombination(Qt::CTRL, Qt::Key_O));
|
||||||
m_btOptions->setMenu(menu);
|
m_btOptions->setMenu(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user