Skip to content
Permalink
Browse files

[ui] do not hide floating panel toolbars for map-only view

  • Loading branch information
nirvn committed Jun 5, 2018
1 parent 8c689b2 commit c61e4821b5f199288b4acab2cab7a9baa613ce47
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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();

0 comments on commit c61e482

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