From 777d0d9848e349753d0d57572a33e4f026809ac2 Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 4 Dec 2021 12:12:29 +0100 Subject: [PATCH] Fixed to display the right index for Image Page * Fixed to display the right index for Image Page * Fixed to disable share button when Identity is banned. --- retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp | 1 + retroshare-gui/src/gui/Posted/PostedCreatePostDialog.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp index 6d2cbb4a4..da47d7596 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp @@ -182,6 +182,7 @@ void BoardPostDisplayWidgetBase::baseSetup() if(redacted) { commentButton()->setDisabled(true); + shareButton()->setDisabled(true); voteUpButton()->setDisabled(true); voteDownButton()->setDisabled(true); fromLabel()->setId(mPost.mMeta.mAuthorId); diff --git a/retroshare-gui/src/gui/Posted/PostedCreatePostDialog.ui b/retroshare-gui/src/gui/Posted/PostedCreatePostDialog.ui index a9ae69b46..a44f226b1 100644 --- a/retroshare-gui/src/gui/Posted/PostedCreatePostDialog.ui +++ b/retroshare-gui/src/gui/Posted/PostedCreatePostDialog.ui @@ -143,7 +143,7 @@ - 1 + 0