From f079e9964231131a6672b457f9c0f8cecf036114 Mon Sep 17 00:00:00 2001 From: RetroPooh Date: Tue, 17 Jan 2017 17:21:51 +0300 Subject: [PATCH] fix mute option in chatlobby id menu --- retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp index b97ddaac8..987f12244 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp @@ -256,8 +256,8 @@ void ChatLobbyDialog::participantsTreeWidgetCustomPopupMenu(QPoint) votePositiveAct->setEnabled(rsReputations->overallReputationLevel(gxsid) != RsReputations::REPUTATION_LOCALLY_POSITIVE); voteNeutralAct->setEnabled((rsReputations->overallReputationLevel(gxsid) == RsReputations::REPUTATION_LOCALLY_POSITIVE) || (rsReputations->overallReputationLevel(gxsid) == RsReputations::REPUTATION_LOCALLY_NEGATIVE) ); voteNegativeAct->setEnabled(rsReputations->overallReputationLevel(gxsid) != RsReputations::REPUTATION_LOCALLY_NEGATIVE); - - muteAct->setChecked(!isParticipantMuted(gxsid)); + muteAct->setEnabled(true); + muteAct->setChecked(isParticipantMuted(gxsid)); } } contextMnu.exec(QCursor::pos());