diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-14 21:50:58 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-14 21:50:58 -0600 |
commit | 73fa81961d141b7592862a50993cd998fbd4de31 (patch) | |
tree | b4948732186fb9610f51921dadb1555f5a297533 /src/gui | |
parent | 6d6fd0cec10601a51cab67e623a579a14af775fc (diff) | |
download | mana-client-73fa81961d141b7592862a50993cd998fbd4de31.tar.gz mana-client-73fa81961d141b7592862a50993cd998fbd4de31.tar.bz2 mana-client-73fa81961d141b7592862a50993cd998fbd4de31.tar.xz mana-client-73fa81961d141b7592862a50993cd998fbd4de31.zip |
Exposed a few more windows to the reset window button under the setup
dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/npcstringdialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/setup.cpp | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp index 58a5c0c8..f50136ba 100644 --- a/src/gui/npcstringdialog.cpp +++ b/src/gui/npcstringdialog.cpp @@ -47,7 +47,6 @@ NpcStringDialog::NpcStringDialog(Network *network): place(0, 0, mValueField, 3); place(1, 1, cancelButton); place(2, 1, okButton); - //reflowLayout(175, 0); loadWindowState(); } diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index f1e7a6d9..5fe35a6c 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -45,6 +45,9 @@ extern Window *itemShortcutWindow; extern Window *emoteShortcutWindow; extern Window *emoteWindow; extern Window *tradeWindow; +extern Window *npcTextDialog; +extern Window *npcStringDialog; +extern Window *storageWindow; Setup::Setup(): Window(_("Setup")) @@ -139,6 +142,9 @@ void Setup::action(const gcn::ActionEvent &event) emoteShortcutWindow->resetToDefaultSize(); emoteWindow->resetToDefaultSize(); tradeWindow->resetToDefaultSize(); + npcTextDialog->resetToDefaultSize(); + npcStringDialog->resetToDefaultSize(); + storageWindow->resetToDefaultSize(); } } |