diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-27 06:30:42 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-27 06:31:58 -0600 |
commit | 8519fc5cb5d95e1ed753912aaa70a8f041c31abc (patch) | |
tree | 04bf754b940f8ee4083042b8de2789ddd830de9e /src/gui/npclistdialog.cpp | |
parent | dd05447445dc1766e532130318af2cb6bb72a994 (diff) | |
download | mana-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.gz mana-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.bz2 mana-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.xz mana-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.zip |
Fix some problems with NPC dialogs
NPCListDialog couldn't be opened because of infinite recursion, and it
and NPCTextDialog both had resize bugs.
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r-- | src/gui/npclistdialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp index 968e2514..ff91c9fc 100644 --- a/src/gui/npclistdialog.cpp +++ b/src/gui/npclistdialog.cpp @@ -155,7 +155,6 @@ void NpcListDialog::setVisible(bool visible) { if (visible) { npcTextDialog->setVisible(true); - requestFocus(); } Window::setVisible(visible); @@ -165,6 +164,4 @@ void NpcListDialog::requestFocus() { mItemList->requestFocus(); mItemList->setSelected(0); - loadWindowState(); - setVisible(true); } |