summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-15 00:04:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-15 00:04:28 +0300
commit981301a12e50dde848f7ddf9e78168d15673c9fc (patch)
tree34d5642263f51aa96883b061d372a32d2a814449 /src/gui
parentbf235a610f10301471ca83ce153511d63b3fa9f9 (diff)
downloadmanaplus-981301a12e50dde848f7ddf9e78168d15673c9fc.tar.gz
manaplus-981301a12e50dde848f7ddf9e78168d15673c9fc.tar.bz2
manaplus-981301a12e50dde848f7ddf9e78168d15673c9fc.tar.xz
manaplus-981301a12e50dde848f7ddf9e78168d15673c9fc.zip
Fix "add comment" for offline or invisible players from chat tab.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popupmenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 0c5e7a365..89dd64c18 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -698,6 +698,7 @@ void PopupMenu::showChatPopup(int x, int y, ChatTab *tab)
}
else
{
+ mNick = name;
mBrowserBox->addRow(strprintf(
"@@addcomment|%s@@", _("Add comment")));
mBrowserBox->addRow("##3---");