Merge pull request #1662 from BrandonGriffin/SetFocusOnDescriptionWhenLoadingGameDialog
Added set focus to description anytime a create dialog is opened
This commit is contained in:
commit
0c137e8a10
1 changed files with 2 additions and 1 deletions
|
@ -133,6 +133,7 @@ DlgCreateGame::DlgCreateGame(TabRoom *_room, const QMap<int, QString> &_gameType
|
|||
actReset();
|
||||
}
|
||||
|
||||
descriptionEdit->setFocus();
|
||||
clearButton = new QPushButton(tr("&Clear"));
|
||||
buttonBox->addButton(QDialogButtonBox::Cancel);
|
||||
buttonBox->addButton(clearButton, QDialogButtonBox::ActionRole);
|
||||
|
@ -205,7 +206,7 @@ void DlgCreateGame::actReset()
|
|||
gameTypeCheckBoxIterator.value()->setChecked(false);
|
||||
}
|
||||
|
||||
descriptionEdit->setFocus();
|
||||
descriptionEdit->setFocus();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue