[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 143754] save doesn't work after redo
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2007-06-03 12:10:51
Message-ID: 20070603121051.8539.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=143754
------- Additional Comments From cullmann kde org 2007-06-03 14:10 -------
K, I can reproduce now, the problem seems to be in this code snippet:
void KateDocument::updateModified()
{
if ( ( lastUndoGroupWhenSaved &&
!undoItems.isEmpty() &&
undoItems.last() == lastUndoGroupWhenSaved )
|| ( undoItems.isEmpty() && docWasSavedWhenUndoWasEmpty ) )
{
setModified( false );
kDebug(13020) << k_funcinfo << "setting modified to false!" << endl;
};
}
either the lastUndo.... is wrong or the docWasSa... is wrong..
Either way, this looks not that good, I doubt that works if the undo is limited...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic