Commit 5ab106aa authored by Michael Pyne's avatar Michael Pyne

Fix bug 86892, where the tag editor loses changes you make whenever you hide the tag editor

widget.

CCMAIL:86892@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=339949
parent c3adab39
......@@ -175,6 +175,8 @@ void TagEditor::slotSetItems(const PlaylistItemList &list)
if(isVisible())
slotRefresh();
else
m_collectionChanged = true;
}
void TagEditor::slotRefresh()
......@@ -759,10 +761,11 @@ void TagEditor::addItem(const QString &text, QWidget *item, QBoxLayout *layout,
void TagEditor::showEvent(QShowEvent *e)
{
if(m_collectionChanged)
if(m_collectionChanged) {
updateCollection();
slotRefresh();
}
slotRefresh();
QWidget::showEvent(e);
}
......
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