changeset 687 | 1973a58f3900 |
parent 684 | 5f9a2771680d |
child 691 | 058b0e70f5ec |
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 {