Summary: | "undo" affects more than one action | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Javier Hernandez <javierhe> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Javier Hernandez
2005-05-15 21:44:18 UTC
SVN commit 414478 by mpyne: Fix bug 105725 in HEAD. Funny, the code to clear the undo list worked before, but this fix is a) easy, and b) was the 'correct' way to do it anyways. Will backport. CCBUG:105725 M +5 -0 trunk/KDE/kdemultimedia/juk/tagtransactionmanager.cpp --- trunk/KDE/kdemultimedia/juk/tagtransactionmanager.cpp #414477:414478 @@ -96,6 +96,7 @@ bool TagTransactionManager::commit() { + m_undoList.clear(); bool result = processChangeList(); m_list.clear(); @@ -110,6 +111,10 @@ bool TagTransactionManager::undo() { kdDebug(65432) << "Undoing " << m_undoList.count() << " changes.\n"; + + forget(); // Scrap our old changes (although the list should be empty + // anyways. + bool result = processChangeList(true); m_undoList.clear(); SVN commit 414494 by mpyne: Backport fix for bug 105725 ('undo' affects more than one action) to KDE 3.4. BUG:105725 M +5 -0 branches/KDE/3.4/kdemultimedia/juk/tagtransactionmanager.cpp --- branches/KDE/3.4/kdemultimedia/juk/tagtransactionmanager.cpp #414493:414494 @@ -96,6 +96,7 @@ bool TagTransactionManager::commit() { + m_undoList.clear(); bool result = processChangeList(); m_list.clear(); @@ -110,6 +111,10 @@ bool TagTransactionManager::undo() { kdDebug(65432) << "Undoing " << m_undoList.count() << " changes.\n"; + + forget(); // Scrap our old changes (although the list should be empty + // anyways. + bool result = processChangeList(true); m_undoList.clear(); |