diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-25 20:06:53 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-04-25 23:10:57 -0600 |
commit | 5e75167f64473d645e40d7f6eb58eb1ef8f6cdea (patch) | |
tree | 224a58953254aa447e5c532cefbc946a933b2a00 /src/gui/socialwindow.h | |
parent | 88524a71b8d3727b5ad4a8a60e146fd8e786b7ad (diff) | |
download | mana-5e75167f64473d645e40d7f6eb58eb1ef8f6cdea.tar.gz mana-5e75167f64473d645e40d7f6eb58eb1ef8f6cdea.tar.bz2 mana-5e75167f64473d645e40d7f6eb58eb1ef8f6cdea.tar.xz mana-5e75167f64473d645e40d7f6eb58eb1ef8f6cdea.zip |
Fix some button issues in SocialWindow
The invite and leave buttons are now only enabled when there are tabs. Also,
the code to handle them will do nothing if no tab is selected (backup
logic).
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/gui/socialwindow.h')
-rw-r--r-- | src/gui/socialwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/socialwindow.h b/src/gui/socialwindow.h index d3e69cc5..885c0e54 100644 --- a/src/gui/socialwindow.h +++ b/src/gui/socialwindow.h @@ -77,6 +77,8 @@ public: protected: friend class SocialTab; + void updateButtons(); + int mGuildInvited; ConfirmDialog *mGuildAcceptDialog; TextDialog *mGuildCreateDialog; |