1
0
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:
Christian Muehlhaeuser
2011-01-21 01:11:01 +01:00
parent d7eba4243b
commit 9ec6e6c337

View File

@@ -101,6 +101,7 @@ SourceTreeView::setupMenus()
if ( readonly )
{
m_deletePlaylistAction->setEnabled( !readonly );
m_renamePlaylistAction->setEnabled( !readonly );
}
connect( m_renamePlaylistAction, SIGNAL( triggered() ), SLOT( renamePlaylist() ) );