Commit f07447b4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: try to correctly save the playlist state

Close #11331
parent aeb7c4c4
......@@ -977,8 +977,10 @@ void MainInterface::setStatusBarVisibility( bool b_visible )
void MainInterface::setPlaylistVisibility( bool b_visible )
{
if ( !isPlDocked() && !THEDP->isDying() && (playlistWidget && !playlistWidget->isMinimized() ) )
playlistVisible = b_visible;
if( isPlDocked() || THEDP->isDying() || (playlistWidget && playlistWidget->isMinimized() ) )
return;
playlistVisible = b_visible;
}
#if 0
......
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