summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index d1c99b84..b617be91 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -31,6 +31,7 @@
#include "player.h"
#include "gui/palette.h"
+#include "gui/setup.h"
#include "resources/image.h"
#include "resources/resourcemanager.h"
@@ -53,6 +54,7 @@ Minimap::Minimap():
// set this to false as the minimap window size is changed
//depending on the map size
setResizable(false);
+ setupWindow->registerWindowForReset(this);
setDefaultVisible(true);
setSaveVisible(true);