summaryrefslogtreecommitdiff
path: root/src/gui/windows/emotewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/emotewindow.cpp')
-rw-r--r--src/gui/windows/emotewindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/emotewindow.cpp b/src/gui/windows/emotewindow.cpp
index d9e303012..db666d2a8 100644
--- a/src/gui/windows/emotewindow.cpp
+++ b/src/gui/windows/emotewindow.cpp
@@ -23,6 +23,8 @@
#include "gui/models/colormodel.h"
#include "gui/models/namesmodel.h"
+#include "gui/windows/setupwindow.h"
+
#include "gui/widgets/colorpage.h"
#include "gui/widgets/emotepage.h"
#include "gui/widgets/scrollarea.h"
@@ -66,6 +68,9 @@ EmoteWindow::EmoteWindow() :
setShowTitle(false);
setResizable(true);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
addMouseListener(this);
}