diff options
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r-- | src/gui/npcintegerdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp index ea06ca8d..fad37700 100644 --- a/src/gui/npcintegerdialog.cpp +++ b/src/gui/npcintegerdialog.cpp @@ -139,7 +139,10 @@ void NpcIntegerDialog::requestFocus() void NpcIntegerDialog::setVisible(bool visible) { - if (visible) npcTextDialog->setVisible(true); + if (visible) { + npcTextDialog->setVisible(true); + requestFocus(); + } Window::setVisible(visible); } |