diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:23:34 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:25:28 +0100 |
commit | 72f5288682f46af1f7c04c002172178c880e060b (patch) | |
tree | 444ef1af05fc74dd072ad2be51c6ff7ab7ce976e /src/gui/setup.cpp | |
parent | be25d46954a98b2590b522de5f8aa470ba4f9e81 (diff) | |
download | mana-client-72f5288682f46af1f7c04c002172178c880e060b.tar.gz mana-client-72f5288682f46af1f7c04c002172178c880e060b.tar.bz2 mana-client-72f5288682f46af1f7c04c002172178c880e060b.tar.xz mana-client-72f5288682f46af1f7c04c002172178c880e060b.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.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 4fae514f..e8e0905e 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -41,6 +41,7 @@ extern Window *inventoryWindow; extern Window *equipmentWindow; extern Window *helpWindow; extern Window *skillDialog; +extern Window *itemShortcutWindow; Setup::Setup(): Window("Setup") @@ -127,5 +128,6 @@ void Setup::action(const gcn::ActionEvent &event) equipmentWindow->resetToDefaultSize(); helpWindow->resetToDefaultSize(); skillDialog->resetToDefaultSize(); + itemShortcutWindow->resetToDefaultSize(); } } |