Skip to content

Commit

Permalink
Fix 'invisible news' issue where after hiding the news it never comes…
Browse files Browse the repository at this point in the history
… back. Should be backported to LTR too.

(cherry picked from commit f5d1eef)
  • Loading branch information
timlinux authored and nyalldawson committed Sep 11, 2020
1 parent bc248a7 commit 4362353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgswelcomepage.cpp
Expand Up @@ -438,6 +438,8 @@ void QgsWelcomePage::updateNewsFeedVisibility()
else
{
mSplitter2->restoreState( QgsSettings().value( QStringLiteral( "Windows/WelcomePage/SplitState2" ), QVariant(), QgsSettings::App ).toByteArray() );
int splitSize = mSplitter2->height() / 2;
mSplitter2->setSizes( QList< int > { splitSize, splitSize} );
}
}

Expand Down

0 comments on commit 4362353

Please sign in to comment.