Commit 813a0c20 authored by Brandon Griffin's avatar Brandon Griffin
Browse files

Added set focus to description anytime a create dialong is opened

parent 77b9aa7c
......@@ -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();
}
......
Supports Markdown
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