summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-27 23:32:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-27 23:32:35 +0300
commit4c1ecb78ef90c709acad9023cfd7a13e9f1a1814 (patch)
tree6118df20001f434f887e64c45990c6e446c6f85c /src/gui
parent6b92b52308211bc61320e3c8062c59e7b4e81f65 (diff)
downloadmanaverse-4c1ecb78ef90c709acad9023cfd7a13e9f1a1814.tar.gz
manaverse-4c1ecb78ef90c709acad9023cfd7a13e9f1a1814.tar.bz2
manaverse-4c1ecb78ef90c709acad9023cfd7a13e9f1a1814.tar.xz
manaverse-4c1ecb78ef90c709acad9023cfd7a13e9f1a1814.zip
Add player relation menu items in chat tab context menu if player offline or inviible.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popupmenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 318de81b0..dfaf4122a 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -607,7 +607,8 @@ void PopupMenu::showChatPopup(int x, int y, ChatTab *tab)
{
mNick = name;
mType = Being::PLAYER;
-
+ addPlayerRelation(name);
+ mBrowserBox->addRow("##3---");
addFollow();
if (player_node->isInParty())