UI: Explicitly focus Ok button in properties dialog
This commit is contained in:
parent
f1aba10dc0
commit
1437a6e4fc
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
|||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
ui->setupUi(this);
|
||||
ui->buttonBox->button(QDialogButtonBox::Ok)->setFocus();
|
||||
|
||||
if (cx > 400 && cy > 400)
|
||||
resize(cx, cy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue