summaryrefslogtreecommitdiff
path: root/src/gui/magic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/magic.cpp')
-rw-r--r--src/gui/magic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/magic.cpp b/src/gui/magic.cpp
index 0906566b..48cfc5dc 100644
--- a/src/gui/magic.cpp
+++ b/src/gui/magic.cpp
@@ -22,6 +22,7 @@
#include "gui/magic.h"
#include "gui/widgets/button.h"
+#include "gui/setup.h"
#include "localplayer.h"
@@ -35,6 +36,7 @@ MagicDialog::MagicDialog():
setCloseButton(true);
setSaveVisible(true);
setDefaultSize(255, 30, 175, 225);
+ setupWindow->registerWindowForReset(this);
gcn::Button *spellButton1 = new Button(_("Cast Test Spell 1"), "spell_1", this);
gcn::Button *spellButton2 = new Button(_("Cast Test Spell 2"), "spell_2", this);