Commit 72522daf authored by Daniel Molkentin's avatar Daniel Molkentin

-reverse logic for config swith in don't down again dialog

-don't try to save or ask if nothing has changed

svn path=/trunk/kdemultimedia/juk/; revision=211848
parent bfbc953e
......@@ -653,11 +653,14 @@ void Playlist::applyTag(QListViewItem *item, const QString &text, int column)
void Playlist::slotApplyModification(QListViewItem *item, const QString &text, int column)
{
if (item->text(column) == text)
return;
QPtrList<QListViewItem> selectedSongs = KListView::selectedItems();
if (selectedSongs.count() > 1)
{
if (KMessageBox::warningYesNo(0, i18n("This will rename multiple files! Are you sure?"), QString::null,
KStdGuiItem::yes(), KStdGuiItem::no(), "WarnMultipleTags") == KMessageBox::No)
KStdGuiItem::yes(), KStdGuiItem::no(), "DontWarnMultipleTags") == KMessageBox::No)
return;
QPtrListIterator<QListViewItem> it(selectedSongs);
......
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