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/npc_text.cpp | |
parent | dd05447445dc1766e532130318af2cb6bb72a994 (diff) | |
download | mana-client-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.gz mana-client-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.bz2 mana-client-8519fc5cb5d95e1ed753912aaa70a8f041c31abc.tar.xz mana-client-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/npc_text.cpp')
-rw-r--r-- | src/gui/npc_text.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index 5158e966..9fa57be8 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -157,9 +157,3 @@ void NpcTextDialog::widgetResized(const gcn::Event &event) setText(mText); } - -void NpcTextDialog::requestFocus() -{ - loadWindowState(); - setVisible(true); -} |