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:
parent
515f2bb1a9
commit
1eee6f968e
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user