summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index ff2f15427..00187a31d 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -33,6 +33,7 @@
#include "gui/viewport.h"
#include "gui/windows/chatwindow.h"
+#include "gui/windows/setupwindow.h"
#include "gui/windows/socialwindow.h"
#include "gui/widgets/button.h"
@@ -126,6 +127,9 @@ void WhoIsOnline::postInit()
setStickyButtonLock(true);
setSaveVisible(true);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
mUpdateButton->setEnabled(false);
mUpdateButton->setDimension(Rect(5, 5, w - 10, 20 + 5));