summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index 5c8ee1357..88d88af8a 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -28,7 +28,6 @@
#include "input/keyboardconfig.h"
#include "gui/models/iconsmodel.h"
-#include "gui/models/magicschoolmodel.h"
#include "gui/models/targettypemodel.h"
#include "gui/widgets/button.h"
@@ -37,7 +36,12 @@
#include "gui/widgets/inttextfield.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layoutcell.h"
+
+#ifdef TMWA_SUPPORT
+#include "gui/models/magicschoolmodel.h"
+
#include "gui/widgets/radiobutton.h"
+#endif // TMWA_SUPPORT
#include "utils/delete2.h"