From: Mladen Horvat Date: Wed, 9 Dec 2009 06:39:59 +0000 (+0100) Subject: SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing... X-Git-Tag: 2.7.0~32^2~3^2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/25af2f392e5a88feb892d7bb2c889256dd74abbb?ds=sidebyside SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing a backup, so now should all settings be saved before a backup is done and no gui restart is needed anymore. This fixes #351 --- diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py index 871f0a30..d9ccab57 100755 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py @@ -66,6 +66,7 @@ class BackupScreen(Screen, ConfigListScreen): self.setTitle(_("Backup is running...")) def doBackup(self): + configfile.save() try: if (path.exists(self.backuppath) == False): makedirs(self.backuppath)