Commit 0fba5732 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Don't save geometry if Video is Active.

Close #1775
parent 420ecd54
......@@ -258,7 +258,13 @@ MainInterface::~MainInterface()
getControlsVisibilityStatus() & CONTROLS_ADVANCED );
if( !videoIsActive )
{
QVLCTools::saveWidgetPosition(settings, this);
}
else
{
msg_Dbg( p_intf, "Not saving because video is in use." );
}
if( bgWidget )
settings->setValue( "backgroundSize", bgWidget->size() );
......@@ -677,6 +683,8 @@ void MainInterface::releaseVideoSlot( void *p_win )
bgWidget->show();
}
videoIsActive = false;
/* Try to resize, except when you are in Fullscreen mode */
if( !isFullScreen() ) doComponentsUpdate();
}
......
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