mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
Text edit field now gets focus when the dialog is shown.
This commit is contained in:
parent
1907aeb6c6
commit
5802930500
@ -30,6 +30,9 @@ TextInputDialog::TextInputDialog(MWWorld::Environment& environment, const std::s
|
||||
// Adjust back button when next is shown
|
||||
okButton->setCoord(okButton->getCoord() + MyGUI::IntCoord(-18, 0, 18, 0));
|
||||
}
|
||||
|
||||
// Make sure the edit box has focus
|
||||
MyGUI::InputManager::getInstance().setKeyFocusWidget(textEdit);
|
||||
}
|
||||
|
||||
// widget controls
|
||||
|
Loading…
Reference in New Issue
Block a user