summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/npcstringdialog.cpp1
-rw-r--r--src/gui/setup.cpp6
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();
}
}