mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Disable rename playlist action for remote playlists.
This commit is contained in:
@@ -101,6 +101,7 @@ SourceTreeView::setupMenus()
|
|||||||
if ( readonly )
|
if ( readonly )
|
||||||
{
|
{
|
||||||
m_deletePlaylistAction->setEnabled( !readonly );
|
m_deletePlaylistAction->setEnabled( !readonly );
|
||||||
|
m_renamePlaylistAction->setEnabled( !readonly );
|
||||||
}
|
}
|
||||||
|
|
||||||
connect( m_renamePlaylistAction, SIGNAL( triggered() ), SLOT( renamePlaylist() ) );
|
connect( m_renamePlaylistAction, SIGNAL( triggered() ), SLOT( renamePlaylist() ) );
|
||||||
|
Reference in New Issue
Block a user