# HG changeset patch
# User insilmaril
# Date 1181554859 0
# Node ID d8c245d582a310e0d4c3a6872ddaa3b301c3eacb
# Parent  4b7989874d123f38cff9f81a71c05d3855823982
Disabling autosave while we are back in time

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);
 }
diff -r 4b7989874d12 -r d8c245d582a3 tex/vym.changelog
--- a/tex/vym.changelog	Wed May 30 15:23:08 2007 +0000
+++ b/tex/vym.changelog	Mon Jun 11 09:40:59 2007 +0000
@@ -1,8 +1,9 @@
 -------------------------------------------------------------------
-Mon May 30 18:01:16 CEST 2007 - uwe
+Mon June 6 18:01:16 CEST 2007 - uwe
 
 - Feature: Creating new map with selection as MapCenter
 - Feature: Simple export to CSV spreadsheet
+- Bugfix: Disable autosave while there are redos available
 - Bugfix: After changing link color, that color is applied to all links
           now
 - Bugfix: Pasting of FIOs
diff -r 4b7989874d12 -r d8c245d582a3 version.h
--- a/version.h	Wed May 30 15:23:08 2007 +0000
+++ b/version.h	Mon Jun 11 09:40:59 2007 +0000
@@ -7,7 +7,7 @@
 #define __VYM_VERSION "1.8.72"
 //#define __VYM_CODENAME "Codename: 1.9.0-beta-1"
 #define __VYM_CODENAME "Codename: development version"
-#define __VYM_BUILD_DATE "May 28, 2007"
+#define __VYM_BUILD_DATE "June 6, 2007"
 
 
 bool checkVersion(const QString &);