From f81593fde9d755023e1f85da686437809fddf8d3 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 16 Feb 2015 15:33:35 +0000 Subject: [PATCH] Disable Send Message button for own Identities. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7946 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 62c740c59..68361bd81 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -666,6 +666,7 @@ void IdDialog::insertIdDetails(uint32_t token) ui->editIdentity->setEnabled(true); ui->removeIdentity->setEnabled(true); ui->chatIdentity->setEnabled(false); + ui->messageButton->setEnabled(false); } else { @@ -674,6 +675,7 @@ void IdDialog::insertIdDetails(uint32_t token) ui->editIdentity->setEnabled(false); ui->removeIdentity->setEnabled(false); ui->chatIdentity->setEnabled(true); + ui->messageButton->setEnabled(true); } /* now fill in the reputation information */