r21085 by fschmid -
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 14 18:53:03 UTC 2016
Author: fschmid
Date: Mon Mar 14 18:53:03 2016
New Revision: 21085
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21085
Log:
Fixed Bug #13809: Configurable directory for .autosaved doc is not remembered
Modified:
trunk/Scribus/scribus/ui/prefs_documentsetup.cpp
Modified: trunk/Scribus/scribus/ui/prefs_documentsetup.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21085&path=/trunk/Scribus/scribus/ui/prefs_documentsetup.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentsetup.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_documentsetup.cpp Mon Mar 14 18:53:03 2016
@@ -186,9 +186,10 @@
autosaveCountSpinBox->setValue(prefsData->docSetupPrefs.AutoSaveCount);
autosaveKeepCheckBox->setChecked(prefsData->docSetupPrefs.AutoSaveKeep);
autosaveDocRadio->setChecked(prefsData->docSetupPrefs.AutoSaveLocation);
+ autosaveDirRadio->setChecked(!prefsData->docSetupPrefs.AutoSaveLocation);
autosaveDirEdit->setText(prefsData->docSetupPrefs.AutoSaveDir);
- autosaveDirEdit->setEnabled(!autosaveDocRadio->isChecked());
- changeAutoDir->setEnabled(!autosaveDocRadio->isChecked());
+ autosaveDirEdit->setEnabled(!prefsData->docSetupPrefs.AutoSaveLocation);
+ changeAutoDir->setEnabled(!prefsData->docSetupPrefs.AutoSaveLocation);
undoCheckBox->setChecked(PrefsManager::instance()->prefsFile->getContext("undo")->getBool("enabled", true));
int undoLength = UndoManager::instance()->getHistoryLength();
if (undoLength == -1)
More information about the scribus-commit
mailing list