summaryrefslogtreecommitdiff
path: root/src/gui/windows/killstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/killstats.cpp')
-rw-r--r--src/gui/windows/killstats.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp
index c266683f3..b5189b455 100644
--- a/src/gui/windows/killstats.cpp
+++ b/src/gui/windows/killstats.cpp
@@ -26,6 +26,8 @@
#include "gui/widgets/label.h"
#include "gui/widgets/layoutcell.h"
+#include "gui/windows/setupwindow.h"
+
#include "actormanager.h"
#include "client.h"
#include "game.h"
@@ -114,6 +116,9 @@ KillStats::KillStats() :
setStickyButtonLock(true);
setDefaultSize(250, 250, 350, 300);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
const int xp(PlayerInfo::getAttribute(Attributes::EXP));
int xpNextLevel(PlayerInfo::getAttribute(Attributes::EXP_NEEDED));