1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

* Don't reset current viewpage when the new page is the same as the current one.

This commit is contained in:
Christian Muehlhaeuser
2012-06-26 01:57:22 +02:00
parent ee6e3c9e69
commit 0f7291368f

View File

@@ -640,6 +640,8 @@ ViewManager::setPage( ViewPage* page, bool trackHistory )
{
if ( !page )
return;
if ( page == m_currentPage )
return;
// save the old playlist shuffle state in config before we change playlists
saveCurrentPlaylistSettings();