summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index 5b393a06..22572b63 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -27,6 +27,7 @@
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/slider.h"
+#include "gui/setup.h"
#include "gui/shop.h"
#include "gui/shoplistbox.h"
@@ -47,6 +48,7 @@ BuyDialog::BuyDialog():
mMoney(0), mAmountItems(0), mMaxItems(0)
{
setWindowName("Buy");
+ setupWindow->registerWindowForReset(this);
setResizable(true);
setCloseButton(true);
setMinWidth(260);