summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-17 10:12:52 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-17 10:47:50 -0600
commit4eaa2f4442e2e005bea8aa3bdcad80387f5ddb73 (patch)
tree3e27303f13088516cc2a4d88d3718e10be6f72c7 /src/gui/socialwindow.cpp
parent076d39f6b83ca495d380d338f396bfb1fd589324 (diff)
downloadmana-client-4eaa2f4442e2e005bea8aa3bdcad80387f5ddb73.tar.gz
mana-client-4eaa2f4442e2e005bea8aa3bdcad80387f5ddb73.tar.bz2
mana-client-4eaa2f4442e2e005bea8aa3bdcad80387f5ddb73.tar.xz
mana-client-4eaa2f4442e2e005bea8aa3bdcad80387f5ddb73.zip
Make sure existing parties get added to SocialWindow
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 904a710b..4fdd5e9e 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -307,6 +307,11 @@ SocialWindow::SocialWindow() :
widgetResized(NULL);
mCreatePopup = new CreatePopup();
+
+ if (player_node->getParty())
+ {
+ addTab(player_node->getParty());
+ }
}
SocialWindow::~SocialWindow()