mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Fixed starting playlist by double-clicking in sidebar.
This commit is contained in:
@@ -149,9 +149,9 @@ void
|
|||||||
PlaylistItem::doubleClicked()
|
PlaylistItem::doubleClicked()
|
||||||
{
|
{
|
||||||
ViewPage* p = ViewManager::instance()->currentPage();
|
ViewPage* p = ViewManager::instance()->currentPage();
|
||||||
if ( PlaylistView* view = dynamic_cast< PlaylistView* >( p ) )
|
if ( FlexibleView* view = dynamic_cast< FlexibleView* >( p ) )
|
||||||
{
|
{
|
||||||
view->startPlayingFromStart();
|
view->trackView()->startPlayingFromStart();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user