mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 04:10:20 +02:00
* Don't reset current viewpage when the new page is the same as the current one.
This commit is contained in:
@@ -640,6 +640,8 @@ ViewManager::setPage( ViewPage* page, bool trackHistory )
|
|||||||
{
|
{
|
||||||
if ( !page )
|
if ( !page )
|
||||||
return;
|
return;
|
||||||
|
if ( page == m_currentPage )
|
||||||
|
return;
|
||||||
|
|
||||||
// save the old playlist shuffle state in config before we change playlists
|
// save the old playlist shuffle state in config before we change playlists
|
||||||
saveCurrentPlaylistSettings();
|
saveCurrentPlaylistSettings();
|
||||||
|
Reference in New Issue
Block a user