summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index d6493ca2..25de201c 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -25,6 +25,7 @@
#include "gui/itempopup.h"
#include "gui/palette.h"
#include "gui/playerbox.h"
+#include "gui/setup.h"
#include "gui/viewport.h"
#include "equipment.h"
@@ -69,6 +70,7 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment):
mSelected(-1)
{
mItemPopup = new ItemPopup;
+ setupWindow->registerWindowForReset(this);
// Control that shows the Player
PlayerBox *playerBox = new PlayerBox;