From cc965406e7903e890fc0c797c2684efc5c4624a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Jul 2014 00:27:10 +0300 Subject: Add missing windows into reset to default size list. --- src/gui/windows/killstats.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/windows/killstats.cpp') 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)); -- cgit v1.2.3-70-g09d2