summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-24 00:27:10 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-24 00:27:10 +0300
commitcc965406e7903e890fc0c797c2684efc5c4624a6 (patch)
tree72efca27600ae734efa07d5194ff36db8767474a /src/gui/windows/shopwindow.cpp
parent7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff)
downloadplus-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/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 1a0174566..eac966fa8 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -29,6 +29,7 @@
#include "gui/windows/confirmdialog.h"
#include "gui/windows/itemamountwindow.h"
#include "gui/windows/selldialog.h"
+#include "gui/windows/setupwindow.h"
#include "gui/windows/tradewindow.h"
#include "gui/models/shopitems.h"
@@ -136,6 +137,9 @@ ShopWindow::ShopWindow() :
else
setDefaultSize(380, 300, ImageRect::CENTER);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
mAnnounceCounter[BUY] = 0;
mAnnounceCounter[SELL] = 0;