From 2c846c4ae2f7df2aeeacf76675cc73b28becd575 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 17 Aug 2011 10:10:26 -0400 Subject: [PATCH] Always select source item when new playlist/stations are created --- src/sourcetree/sourcesmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sourcetree/sourcesmodel.cpp b/src/sourcetree/sourcesmodel.cpp index fbb138f8c..5bf438d6e 100644 --- a/src/sourcetree/sourcesmodel.cpp +++ b/src/sourcetree/sourcesmodel.cpp @@ -293,8 +293,8 @@ SourcesModel::viewPageActivated( Tomahawk::ViewPage* page ) // 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 // sources. - if( activatePlaylistPage( page, m_rootItem ) ) - m_viewPageDelayedCacheItem = page; + activatePlaylistPage( page, m_rootItem ) + m_viewPageDelayedCacheItem = page; } }