diff --git a/launcher.py b/launcher.py index 37b7e4e..0b0fa1b 100644 --- a/launcher.py +++ b/launcher.py @@ -59,3 +59,6 @@ elif(params['action'] == 'remove_auth'): elif(params['action'] == 'advanced_editor'): editor = AdvancedBackupEditor() editor.showMainScreen() +elif(params['action'] == 'advanced_copy_config'): + editor = AdvancedBackupEditor() + editor.copySimpleConfig() diff --git a/resources/lib/advanced_editor.py b/resources/lib/advanced_editor.py index 8b81eb7..e7e6c77 100644 --- a/resources/lib/advanced_editor.py +++ b/resources/lib/advanced_editor.py @@ -174,5 +174,13 @@ class AdvancedBackupEditor: if(self.dialog.yesno(heading=utils.getString(30127),line1=utils.getString(30128))): #delete this path - subtract one because of "add" item customPaths.deleteSet(exitCondition -1) + + def copySimpleConfig(self): + #disclaimer in case the user hit this on accident + shouldContinue = self.dialog.yesno('Copy Config','This will copy the current Simple file selection to the Advanced Editor','This will erase any current Advanced Editor settings') + + if(shouldContinue): + + diff --git a/resources/settings.xml b/resources/settings.xml index 53e3861..86b87e0 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -27,6 +27,7 @@ +