diff -r 4b7989874d12 -r d8c245d582a3 mapeditor.cpp --- a/mapeditor.cpp Wed May 30 15:23:08 2007 +0000 +++ b/mapeditor.cpp Mon Jun 11 09:40:59 2007 +0000 @@ -4445,6 +4445,11 @@ void MapEditor::autosave() { + // Disable autosave, while we have gone back in history + int redosAvail=undoSet.readNumEntry (QString("/history/redosAvail")); + if (redosAvail>0) return; + + if (mapUnsaved &&mapChanged && settings.value ("/mapeditor/autosave/use",true).toBool() ) mainWindow->fileSave (this); }