Commit 36c503f7 authored by Jan Möbius's avatar Jan Möbius

Hide only toolbars which are docked when going to full screen

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11985 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ec4bdbcb
......@@ -640,14 +640,18 @@ CoreWidget::toggleFullscreen() {
//hide plugin toolbars
for (uint p=0; p < plugins_.size(); p++)
for ( uint j = 0 ; j < plugins_[p].toolbars.size(); ++j )
plugins_[p].toolbars[j].second->hide();
for ( uint j = 0 ; j < plugins_[p].toolbars.size(); ++j ) {
if ( ! plugins_[p].toolbars[j].second->isFloating() )
plugins_[p].toolbars[j].second->hide();
}
//hide main toolbar
mainToolbar_->hide();
if ( ! mainToolbar_->isFloating() )
mainToolbar_->hide();
//hide viewer toolbar
viewerToolbar_->hide();
if ( ! viewerToolbar_->isFloating() )
viewerToolbar_->hide();
//hide the menubar
menuBar()->hide();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment