summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/skilldialog.cpp3
-rw-r--r--src/gui/windows/skilldialog.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index ffc76ae81..61227d275 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -306,7 +306,10 @@ SkillDialog::SkillDialog() :
place(0, 5, mPointsLabel, 4);
place(3, 5, mUseButton);
place(4, 5, mIncreaseButton);
+}
+void SkillDialog::postInit()
+{
setLocationRelativeTo(getParent());
loadWindowState();
enableVisibleSound(true);
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index 1569bd5b9..65fc019fd 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -52,6 +52,8 @@ class SkillDialog final : public Window, public gcn::ActionListener
~SkillDialog();
+ void postInit();
+
/**
* Called when receiving actions from widget.
*/