diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-19 16:27:51 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-19 16:27:51 -0600 |
commit | 61f4e3b9838ac7a0e06cd066ea07224670f1b851 (patch) | |
tree | bacea13fd0e6e4bd0ebacdb74eea6a9db114b4b4 /src/gui/npcstringdialog.cpp | |
parent | dbf402a235d142b44c1936c305f6b3f4c02890bc (diff) | |
download | mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.gz mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.bz2 mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.tar.xz mana-61f4e3b9838ac7a0e06cd066ea07224670f1b851.zip |
Make sure positionable dialogs start out centered
Diffstat (limited to 'src/gui/npcstringdialog.cpp')
-rw-r--r-- | src/gui/npcstringdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp index 4d170208..7ae2d5ed 100644 --- a/src/gui/npcstringdialog.cpp +++ b/src/gui/npcstringdialog.cpp @@ -47,6 +47,10 @@ NpcStringDialog::NpcStringDialog(Network *network): place(1, 1, cancelButton); place(2, 1, okButton); reflowLayout(175, 0); + + center(); + setDefaultSize(); + loadWindowState(); } std::string NpcStringDialog::getValue() |