1.1 --- a/mapeditor.cpp Wed Apr 09 07:14:13 2008 +0000
1.2 +++ b/mapeditor.cpp Thu Apr 10 19:56:11 2008 +0000
1.3 @@ -5260,6 +5260,9 @@
1.4 int redosAvail=undoSet.readNumEntry (QString("/history/redosAvail"));
1.5 if (redosAvail>0) return;
1.6
1.7 + // Also disable autosave for new map without filename
1.8 + if (filePath.isEmpty()) return;
1.9 +
1.10
1.11 if (mapUnsaved &&mapChanged && settings.value ("/mapeditor/autosave/use",true).toBool() )
1.12 {
2.1 --- a/tex/vym.changelog Wed Apr 09 07:14:13 2008 +0000
2.2 +++ b/tex/vym.changelog Thu Apr 10 19:56:11 2008 +0000
2.3 @@ -1,3 +1,8 @@
2.4 +-------------------------------------------------------------------
2.5 +Thu Apr 10 17:11:14 CEST 2008 - uwedr@suse.de
2.6 +
2.7 +- Bugfix: New map is not autosaved, if no filename is known yet
2.8 +
2.9 -------------------------------------------------------------------
2.10 Tue Apr 8 09:59:11 CEST 2008 - uwedr@suse.de
2.11
3.1 --- a/vymmodel.cpp Wed Apr 09 07:14:13 2008 +0000
3.2 +++ b/vymmodel.cpp Thu Apr 10 19:56:11 2008 +0000
3.3 @@ -1,4 +1,5 @@
3.4 #include <QApplication>
3.5 +#include <typeinfo>
3.6
3.7 #include "geometry.h" // for addBBox
3.8 #include "vymmodel.h"