[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.4/kdemultimedia/juk
From: Michael Pyne <michael.pyne () kdemail ! net>
Date: 2005-05-16 6:48:54
Message-ID: 1116226134.336968.14623.nullmailer () svn ! kde ! org
[Download RAW message or body]
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();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic