fixed keeping new zoom size when resizing the channel post window

This commit is contained in:
csoler 2023-04-27 22:46:07 +02:00
parent a04ab8664f
commit ea346b5d2a
2 changed files with 6 additions and 0 deletions

View File

@ -504,6 +504,11 @@ GxsChannelPostsWidgetWithModel::GxsChannelPostsWidgetWithModel(const RsGxsGroupI
}, mEventHandlerId, RsEventType::GXS_CHANNELS );
}
void GxsChannelPostsWidgetWithModel::resizeEvent(QResizeEvent *e)
{
GxsMessageFrameWidget::resizeEvent(e);
updateZoomFactor(0);
}
void GxsChannelPostsWidgetWithModel::currentTabChanged(int t)
{
switch(t)

View File

@ -138,6 +138,7 @@ protected:
/* GxsMessageFrameWidget */
virtual void setAllMessagesReadDo(bool read) override;
virtual void resizeEvent(QResizeEvent *e) override;
private slots:
void showPostDetails();