summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-25 20:06:53 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-25 23:10:57 -0600
commit5e75167f64473d645e40d7f6eb58eb1ef8f6cdea (patch)
tree224a58953254aa447e5c532cefbc946a933b2a00 /src/gui/socialwindow.h
parent88524a71b8d3727b5ad4a8a60e146fd8e786b7ad (diff)
downloadmana-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.h2
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;