diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-08 20:47:31 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-08 20:47:31 +0200 |
commit | e8e3c6d2256d3199891f1734a647392e1a3ee77b (patch) | |
tree | 4216f127441e0bbcdbdfdfadab31841e66748ae0 | |
parent | 47d885a50b7a2c63267b4bb08360a40ee9b877f7 (diff) | |
download | manaplus-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.gz manaplus-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.bz2 manaplus-e8e3c6d2256d3199891f1734a647392e1a3ee77b.tar.xz manaplus-e8e3c6d2256d3199891f1734a647392e1a3ee77b.zip |
Fixing saving state of buttons in top right corner.
-rw-r--r-- | src/gui/windowmenu.cpp | 2 |
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)); } |