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

Qt: restore the playlist if it was minimized when closing VLC

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