diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp index 850c7930d..9eb72ab3f 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp @@ -234,17 +234,16 @@ void ChatLobbyDialog::participantsTreeWidgetCustomPopupMenu(QPoint) contextMnu.addAction(showinpeopleAct); distantChatAct->setEnabled(false); - sendMessageAct->setEnabled(false); + sendMessageAct->setEnabled(selectedItems.count()==1); muteAct->setCheckable(true); muteAct->setEnabled(false); muteAct->setChecked(false); votePositiveAct->setEnabled(false); voteNeutralAct->setEnabled(false); banAct->setEnabled(false); + showinpeopleAct->setEnabled(selectedItems.count()==1); if(selectedItems.count()==1) { - sendMessageAct->setEnabled(true); - showinpeopleAct->setEnabled(true); RsGxsId nickName; rsMsgs->getIdentityForChatLobby(lobbyId, nickName); if(RsGxsId(selectedItems.at(0)->text(COLUMN_ID).toStdString())!=nickName) diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.h b/retroshare-gui/src/gui/chat/ChatLobbyDialog.h index 94359802a..9ca5f87ab 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.h +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.h @@ -81,7 +81,9 @@ protected slots: void distantChatParticipant(); void participantsTreeWidgetDoubleClicked(QTreeWidgetItem *item, int column); void sendMessage(); - void voteParticipant(int vote); + void voteParticipantPositive(); + void voteParticipantNeutral(); + void voteParticipantNegative(); private: void updateParticipantsList();