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.
This commit is contained in:
defnax 2021-12-04 12:12:29 +01:00
parent b5a7655f29
commit 777d0d9848
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -143,7 +143,7 @@
<item row="0" column="1">
<widget class="QStackedWidget" name="stackedWidgetPicture">
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="PageAttach">
<layout class="QGridLayout" name="PageAttach_GL">