1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Fixed starting playlist by double-clicking in sidebar.

This commit is contained in:
Christian Muehlhaeuser 2014-10-04 10:05:48 +02:00
parent 515f2bb1a9
commit 1eee6f968e

View File

@ -149,9 +149,9 @@ void
PlaylistItem::doubleClicked()
{
ViewPage* p = ViewManager::instance()->currentPage();
if ( PlaylistView* view = dynamic_cast< PlaylistView* >( p ) )
if ( FlexibleView* view = dynamic_cast< FlexibleView* >( p ) )
{
view->startPlayingFromStart();
view->trackView()->startPlayingFromStart();
}
}