Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clear hidden toolbars/panels setting when restoring view
  • Loading branch information
nirvn committed Apr 4, 2018
1 parent 1b9f41d commit 74adc04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -6344,6 +6344,10 @@ void QgisApp::toggleReducedView( bool viewMapOnly )
this->menuBar()->setVisible( true );
this->statusBar()->setVisible( true );

settings.remove( QStringLiteral( "UI/hiddenToolBarsActive" ) );
settings.remove( QStringLiteral( "UI/hiddenDocksTitle" ) );
settings.remove( QStringLiteral( "UI/hiddenDocksActive" ) );

settings.setValue( QStringLiteral( "UI/allWidgetsVisible" ), true );
}
}
Expand Down

0 comments on commit 74adc04

Please sign in to comment.