summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 15:23:34 +0100
committerIra Rice <irarice@gmail.com>2008-12-07 20:04:18 -0700
commitca96882fe9319f687fce46c18f6edc671e4efc8a (patch)
tree7ae83e3613fdea072feac03296c39123b24826f7 /src/gui/setup.cpp
parent65e00cfe8c9ec876e3fadadac99a6cad0697283d (diff)
downloadmana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.gz
mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.bz2
mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.xz
mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.zip
Fixed inconsistency in default window sizes
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 2c22a426..baa2bf2b 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -41,6 +41,7 @@ extern Window *inventoryWindow;
extern Window *minimap;
extern Window *skillDialog;
extern Window *statusWindow;
+extern Window *itemShortcutWindow;
Setup::Setup():
Window("Setup")
@@ -132,5 +133,6 @@ void Setup::action(const gcn::ActionEvent &event)
equipmentWindow->resetToDefaultSize();
helpWindow->resetToDefaultSize();
skillDialog->resetToDefaultSize();
+ itemShortcutWindow->resetToDefaultSize();
}
}