From 6ba6a5fcde3d3e6af14f21fb754dadb1a08d13a8 Mon Sep 17 00:00:00 2001 From: Mikhail Rogachev Date: Wed, 26 Apr 2023 13:12:45 +0400 Subject: [PATCH] Update ui/imports/shared/views/ProfileDialogView.qml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lukáš Tinkl --- ui/imports/shared/views/ProfileDialogView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/imports/shared/views/ProfileDialogView.qml b/ui/imports/shared/views/ProfileDialogView.qml index 54e5d58428..b38c1f144b 100644 --- a/ui/imports/shared/views/ProfileDialogView.qml +++ b/ui/imports/shared/views/ProfileDialogView.qml @@ -407,7 +407,7 @@ Pane { id: moreMenu width: 230 SendContactRequestMenuItem { - enabled: !d.isContact && !d.isBlocked && !d.contactRequestState === Constants.ContactRequestState.Sent && + enabled: !d.isContact && !d.isBlocked && d.contactRequestState !== Constants.ContactRequestState.Sent && d.contactDetails.trustStatus === Constants.trustStatus.untrustworthy // we have an action button otherwise onTriggered: { moreMenu.close()