Skip to content

Commit

Permalink
[ui] do not hide floating panel toolbars for map-only view
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jun 5, 2018
1 parent 8c689b2 commit c61e482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -6324,7 +6324,7 @@ void QgisApp::toggleReducedView( bool viewMapOnly )
// hide also statusbar and menubar and all toolbars
for ( QToolBar *toolBar : toolBars )
{
if ( toolBar->isVisible() && !toolBar->isFloating() )
if ( toolBar->isVisible() && !toolBar->isFloating() && toolBar->parent()->inherits( "QMainWindow" ) )
{
// remember the active toolbars
toolBarsActive << toolBar->windowTitle();
Expand Down

0 comments on commit c61e482

Please sign in to comment.