From 981301a12e50dde848f7ddf9e78168d15673c9fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Jun 2011 00:04:28 +0300 Subject: Fix "add comment" for offline or invisible players from chat tab. --- src/gui/popupmenu.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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---"); -- cgit v1.2.3-70-g09d2