diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-24 00:27:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-24 00:27:10 +0300 |
commit | cc965406e7903e890fc0c797c2684efc5c4624a6 (patch) | |
tree | 72efca27600ae734efa07d5194ff36db8767474a /src/gui/windows/npcpostdialog.cpp | |
parent | 7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff) | |
download | manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2 manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.zip |
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r-- | src/gui/windows/npcpostdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp index 327fcbf3f..7bca90500 100644 --- a/src/gui/windows/npcpostdialog.cpp +++ b/src/gui/windows/npcpostdialog.cpp @@ -22,6 +22,8 @@ #include "gui/windows/npcpostdialog.h" +#include "gui/windows/setupwindow.h" + #include "gui/widgets/button.h" #include "gui/widgets/label.h" #include "gui/widgets/textbox.h" @@ -52,6 +54,9 @@ NpcPostDialog::NpcPostDialog(const int npcId) : void NpcPostDialog::postInit() { + if (setupWindow) + setupWindow->registerWindowForReset(this); + // create text field for receiver // TRANSLATORS: label in npc post dialog Label *const senderText = new Label(this, _("To:")); |