changeset 9726 | dfdde45181ec |
parent 9493 | 23c674bfa2e2 |
child 9728 | 320f89e0b28c |
--- a/QTfrontend/ui/widget/chatwidget.cpp Sat Nov 30 13:42:14 2013 +0100 +++ b/QTfrontend/ui/widget/chatwidget.cpp Sat Nov 30 14:05:22 2013 +0100 @@ -871,8 +871,9 @@ return; bool isSelf = (nick == m_userNick); + bool isInRoom = players->isFlagSet(nick, PlayersListModel::InRoom); - acFollow->setVisible(!isSelf); + acFollow->setVisible(!isSelf && isInRoom); // update context menu labels according to possible action if(players->isFlagSet(nick, PlayersListModel::Ignore))