Skip to content
Permalink
Browse files

Clear hidden toolbars/panels setting when restoring view

  • Loading branch information
nirvn committed Apr 4, 2018
1 parent 1b9f41d commit 74adc04e6e4e2336d4eb70cd0ae224437c3b99cf
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgisapp.cpp
@@ -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 );
}
}

0 comments on commit 74adc04

Please sign in to comment.
You can’t perform that action at this time.