r21088 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 18 20:07:48 UTC 2016


Author: fschmid
Date: Fri Mar 18 20:07:48 2016
New Revision: 21088

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21088
Log:
Fixed Bug #13821: use 1 as default for the number of the auto saved documenty to keep

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21088&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp	(original)
+++ trunk/Scribus/scribus/prefsmanager.cpp	Fri Mar 18 20:07:48 2016
@@ -324,7 +324,7 @@
 	appPrefs.hyphPrefs.AutoCheck = false;
 	appPrefs.docSetupPrefs.AutoSave = true;
 	appPrefs.docSetupPrefs.AutoSaveTime = 600000;
-	appPrefs.docSetupPrefs.AutoSaveCount = 5;
+	appPrefs.docSetupPrefs.AutoSaveCount = 1;
 	appPrefs.docSetupPrefs.AutoSaveKeep = false;
 	appPrefs.docSetupPrefs.saveCompressed = false;
 	appPrefs.docSetupPrefs.AutoSaveLocation = true;
@@ -1995,7 +1995,7 @@
 			appPrefs.docSetupPrefs.pagePositioning	= dc.attribute("PagePositioning", "0").toInt();
 			appPrefs.docSetupPrefs.AutoSave	  = static_cast<bool>(dc.attribute("AutoSave", "0").toInt());
 			appPrefs.docSetupPrefs.AutoSaveTime  = dc.attribute("AutoSaveTime", "600000").toInt();
-			appPrefs.docSetupPrefs.AutoSaveCount  = dc.attribute("AutoSaveCount", "5").toInt();
+			appPrefs.docSetupPrefs.AutoSaveCount  = dc.attribute("AutoSaveCount", "1").toInt();
 			appPrefs.docSetupPrefs.AutoSaveKeep = static_cast<bool>(dc.attribute("AutoSaveKeep", "0").toInt());
 			appPrefs.docSetupPrefs.AutoSaveLocation = static_cast<bool>(dc.attribute("AutoSaveLoc", "1").toInt());
 			appPrefs.docSetupPrefs.AutoSaveDir = dc.attribute("AutoSaveDir","");




More information about the scribus-commit mailing list