1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 21:57:41 +02:00

Always select source item when new playlist/stations are created

This commit is contained in:
Leo Franchi
2011-08-17 10:10:26 -04:00
parent ab462cd7b8
commit 2c846c4ae2

View File

@@ -293,8 +293,8 @@ SourcesModel::viewPageActivated( Tomahawk::ViewPage* page )
// include DynamicWidget.h here (so can't dynamic_cast). // include DynamicWidget.h here (so can't dynamic_cast).
// this could also be fixed by keeping a master list of playlists/sourcetreeitems... but that's even uglier i think. this is only called the first time a certain viewpage is clicked from external // this could also be fixed by keeping a master list of playlists/sourcetreeitems... but that's even uglier i think. this is only called the first time a certain viewpage is clicked from external
// sources. // sources.
if( activatePlaylistPage( page, m_rootItem ) ) activatePlaylistPage( page, m_rootItem )
m_viewPageDelayedCacheItem = page; m_viewPageDelayedCacheItem = page;
} }
} }