Commit d9b28c03 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: disable focus on widgets for hotkeys selection

Ref #7929
parent 3e4a7850
......@@ -1428,6 +1428,10 @@ KeyInputDialog::KeyInputDialog( QTreeWidget *_table,
buttonBox->addButton( cancel, QDialogButtonBox::RejectRole );
ok->setDefault( true );
ok->setFocusPolicy(Qt::NoFocus);
unset->setFocusPolicy(Qt::NoFocus);
cancel->setFocusPolicy(Qt::NoFocus);
vLayout->addWidget( buttonBox );
ok->hide();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment