Merge pull request #2519 from defnax/boardsfixes

Fixed to display the right index for Image Page
This commit is contained in:
csoler 2021-12-04 12:55:25 +01:00 committed by GitHub
commit 20a4e00544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -182,6 +182,7 @@ void BoardPostDisplayWidgetBase::baseSetup()
if(redacted) if(redacted)
{ {
commentButton()->setDisabled(true); commentButton()->setDisabled(true);
shareButton()->setDisabled(true);
voteUpButton()->setDisabled(true); voteUpButton()->setDisabled(true);
voteDownButton()->setDisabled(true); voteDownButton()->setDisabled(true);
fromLabel()->setId(mPost.mMeta.mAuthorId); fromLabel()->setId(mPost.mMeta.mAuthorId);

View File

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