summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-08 20:47:31 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-08 20:47:31 +0200
commite8e3c6d2256d3199891f1734a647392e1a3ee77b (patch)
tree4216f127441e0bbcdbdfdfadab31841e66748ae0 /src/gui/windowmenu.cpp
parent47d885a50b7a2c63267b4bb08360a40ee9b877f7 (diff)
downloadmanaverse-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.gz
manaverse-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.bz2
manaverse-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.xz
manaverse-e8e3c6d2256d3199891f1734a647392e1a3ee77b.zip
Fixing saving state of buttons in top right corner.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 1fa99e729..6926e18ae 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -362,4 +362,6 @@ void WindowMenu::saveButtons()
i ++;
}
}
+ for (int f = i; f < 15; f ++)
+ config.deleteKey("windowmenu" + toString(f));
}