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/selldialog.cpp | |
parent | 7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff) | |
download | plus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz plus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2 plus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz plus-cc965406e7903e890fc0c797c2684efc5c4624a6.zip |
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r-- | src/gui/windows/selldialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index 18d993c91..70d790733 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -28,6 +28,7 @@ #include "being/playerinfo.h" #include "gui/windows/confirmdialog.h" +#include "gui/windows/setupwindow.h" #include "gui/windows/tradewindow.h" #include "gui/models/shopitems.h" @@ -92,6 +93,9 @@ void SellDialog::init() setMinHeight(220); setDefaultSize(260, 230, ImageRect::CENTER); + if (setupWindow) + setupWindow->registerWindowForReset(this); + // Create a ShopItems instance, that is aware of duplicate entries. mShopItems = new ShopItems(true); |