Disabling autosave while we are back in time
authorinsilmaril
Mon Jun 11 09:40:59 2007 +0000 (2007-06-11)
changeset 500d8c245d582a3
parent 499 4b7989874d12
child 501 6ced87c58cea
Disabling autosave while we are back in time
mapeditor.cpp
tex/vym.changelog
version.h
     1.1 --- a/mapeditor.cpp	Wed May 30 15:23:08 2007 +0000
     1.2 +++ b/mapeditor.cpp	Mon Jun 11 09:40:59 2007 +0000
     1.3 @@ -4445,6 +4445,11 @@
     1.4  
     1.5  void MapEditor::autosave()
     1.6  {
     1.7 +	// Disable autosave, while we have gone back in history
     1.8 +	int redosAvail=undoSet.readNumEntry (QString("/history/redosAvail"));
     1.9 +	if (redosAvail>0) return;
    1.10 +
    1.11 +
    1.12  	if (mapUnsaved &&mapChanged && settings.value ("/mapeditor/autosave/use",true).toBool() )
    1.13  		mainWindow->fileSave (this);
    1.14  }
     2.1 --- a/tex/vym.changelog	Wed May 30 15:23:08 2007 +0000
     2.2 +++ b/tex/vym.changelog	Mon Jun 11 09:40:59 2007 +0000
     2.3 @@ -1,8 +1,9 @@
     2.4  -------------------------------------------------------------------
     2.5 -Mon May 30 18:01:16 CEST 2007 - uwe
     2.6 +Mon June 6 18:01:16 CEST 2007 - uwe
     2.7  
     2.8  - Feature: Creating new map with selection as MapCenter
     2.9  - Feature: Simple export to CSV spreadsheet
    2.10 +- Bugfix: Disable autosave while there are redos available
    2.11  - Bugfix: After changing link color, that color is applied to all links
    2.12            now
    2.13  - Bugfix: Pasting of FIOs
     3.1 --- a/version.h	Wed May 30 15:23:08 2007 +0000
     3.2 +++ b/version.h	Mon Jun 11 09:40:59 2007 +0000
     3.3 @@ -7,7 +7,7 @@
     3.4  #define __VYM_VERSION "1.8.72"
     3.5  //#define __VYM_CODENAME "Codename: 1.9.0-beta-1"
     3.6  #define __VYM_CODENAME "Codename: development version"
     3.7 -#define __VYM_BUILD_DATE "May 28, 2007"
     3.8 +#define __VYM_BUILD_DATE "June 6, 2007"
     3.9  
    3.10  
    3.11  bool checkVersion(const QString &);