summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index ba8754482..e8caa0722 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -184,6 +184,10 @@ NpcDialog::NpcDialog(const int npcId) :
loadWindowState();
instances.push_back(this);
+}
+
+void NpcDialog::postInit()
+{
setVisible(true);
requestFocus();
enableVisibleSound(true);