# HG changeset patch # User insilmaril # Date 1207857371 0 # Node ID 1973a58f390086a037d8e12f750d2d6adf18c8aa # Parent d6cc3365c8b864306960bedfe49a42a274b6ac19 added typeinfo for gcc 4.3 diff -r d6cc3365c8b8 -r 1973a58f3900 mapeditor.cpp --- a/mapeditor.cpp Wed Apr 09 07:14:13 2008 +0000 +++ b/mapeditor.cpp Thu Apr 10 19:56:11 2008 +0000 @@ -5260,6 +5260,9 @@ int redosAvail=undoSet.readNumEntry (QString("/history/redosAvail")); if (redosAvail>0) return; + // Also disable autosave for new map without filename + if (filePath.isEmpty()) return; + if (mapUnsaved &&mapChanged && settings.value ("/mapeditor/autosave/use",true).toBool() ) { diff -r d6cc3365c8b8 -r 1973a58f3900 tex/vym.changelog --- a/tex/vym.changelog Wed Apr 09 07:14:13 2008 +0000 +++ b/tex/vym.changelog Thu Apr 10 19:56:11 2008 +0000 @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 10 17:11:14 CEST 2008 - uwedr@suse.de + +- Bugfix: New map is not autosaved, if no filename is known yet + ------------------------------------------------------------------- Tue Apr 8 09:59:11 CEST 2008 - uwedr@suse.de diff -r d6cc3365c8b8 -r 1973a58f3900 vymmodel.cpp --- a/vymmodel.cpp Wed Apr 09 07:14:13 2008 +0000 +++ b/vymmodel.cpp Thu Apr 10 19:56:11 2008 +0000 @@ -1,4 +1,5 @@ #include +#include #include "geometry.h" // for addBBox #include "vymmodel.h"