mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
fix playlists not being deletable
minor label fix
This commit is contained in:
@@ -164,8 +164,12 @@ DynamicWidget::generateOrStart()
|
|||||||
if( m_runningOnDemand == false ) {
|
if( m_runningOnDemand == false ) {
|
||||||
m_runningOnDemand = true;
|
m_runningOnDemand = true;
|
||||||
m_playlist->generator()->startOnDemand();
|
m_playlist->generator()->startOnDemand();
|
||||||
|
|
||||||
|
m_generateButton->setText( tr( "Stop" ) );
|
||||||
} else { // stop
|
} else { // stop
|
||||||
m_runningOnDemand = false;
|
m_runningOnDemand = false;
|
||||||
|
|
||||||
|
m_generateButton->setText( tr( "Start" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -94,7 +94,7 @@ SourceTreeView::setupMenus()
|
|||||||
playlist_ptr playlist = SourcesModel::indexToDynamicPlaylist( m_contextMenuIndex );
|
playlist_ptr playlist = SourcesModel::indexToDynamicPlaylist( m_contextMenuIndex );
|
||||||
if( playlist.isNull() )
|
if( playlist.isNull() )
|
||||||
{
|
{
|
||||||
playlist_ptr playlist = SourcesModel::indexToPlaylist( m_contextMenuIndex );
|
playlist = SourcesModel::indexToPlaylist( m_contextMenuIndex );
|
||||||
}
|
}
|
||||||
if ( !playlist.isNull() )
|
if ( !playlist.isNull() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user