diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-08 14:40:04 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-08 14:43:51 -0700 |
commit | 8a31e96d8534d402db9cd48183c0b15732f7d95e (patch) | |
tree | 885d83febf301c1289c3bf7f83bf9dca89e0347c /src/gui/okdialog.cpp | |
parent | bc5c031e43eff506c925682349dd2a52b89d6565 (diff) | |
download | mana-8a31e96d8534d402db9cd48183c0b15732f7d95e.tar.gz mana-8a31e96d8534d402db9cd48183c0b15732f7d95e.tar.bz2 mana-8a31e96d8534d402db9cd48183c0b15732f7d95e.tar.xz mana-8a31e96d8534d402db9cd48183c0b15732f7d95e.zip |
Merge PartyWindow and GuildWindow into SocialWindow
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r-- | src/gui/okdialog.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp index 512a9994..3693f3e9 100644 --- a/src/gui/okdialog.cpp +++ b/src/gui/okdialog.cpp @@ -69,12 +69,8 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg, void OkDialog::action(const gcn::ActionEvent &event) { - // Proxy button events to our listeners - ActionListenerIterator i; - for (i = mActionListeners.begin(); i != mActionListeners.end(); ++i) - { - (*i)->action(event); - } + setActionEventId(event.getId()); + distributeActionEvent(); // Can we receive anything else anyway? if (event.getId() == "ok") |