Commit 6bd699cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix #1884

parent 5ea03a66
...@@ -813,10 +813,16 @@ void MainInterface::toggleMinimalView() ...@@ -813,10 +813,16 @@ void MainInterface::toggleMinimalView()
{ {
/* HACK for minimalView, see menus.cpp */ /* HACK for minimalView, see menus.cpp */
if( !menuBar()->isVisible() ) QVLCMenu::minimalViewAction->toggle(); if( !menuBar()->isVisible() ) QVLCMenu::minimalViewAction->toggle();
if( i_visualmode != QT_ALWAYS_VIDEO_MODE && if( i_visualmode != QT_ALWAYS_VIDEO_MODE &&
i_visualmode != QT_MINIMAL_MODE ) i_visualmode != QT_MINIMAL_MODE )
{ { /* NORMAL MODE then */
if( videoWidget->isHidden() ) emit askBgWidgetToToggle(); if( videoWidget->isHidden() ) emit askBgWidgetToToggle();
else
{
/* If video is visible, then toggle the status of bgWidget */
bgWasVisible = !bgWasVisible;
}
} }
TOGGLEV( menuBar() ); TOGGLEV( menuBar() );
......
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