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()
if(m_items.isEmpty()) {
slotClear();
setEnabled(false);
return;
}
setEnabled(true);
PlaylistItem *item = m_items.first();
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