Commit 14689355 authored by Nadeem Hasan's avatar Nadeem Hasan

Disable editor widget if a playlist item is not selected.

svn path=/trunk/kdemultimedia/juk/; revision=239656
parent 5cfce2ef
...@@ -76,9 +76,12 @@ void TagEditor::slotRefresh() ...@@ -76,9 +76,12 @@ void TagEditor::slotRefresh()
if(m_items.isEmpty()) { if(m_items.isEmpty()) {
slotClear(); slotClear();
setEnabled(false);
return; return;
} }
setEnabled(true);
PlaylistItem *item = m_items.first(); PlaylistItem *item = m_items.first();
Tag *tag = item->tag(); Tag *tag = item->tag();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment