Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
813a0c20
Commit
813a0c20
authored
Oct 26, 2015
by
Brandon Griffin
Browse files
Added set focus to description anytime a create dialong is opened
parent
77b9aa7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_creategame.cpp
View file @
813a0c20
...
...
@@ -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
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment