diff options
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 4 |
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; |