From f82ae6c09103d39446d640764ef1f4e8a7fbb125 Mon Sep 17 00:00:00 2001 From: BzKevin <36381472+BzKevin@users.noreply.github.com> Date: Mon, 6 May 2019 21:35:41 -0400 Subject: [PATCH] Change 'Create Unique Filename' to default --- contrib/enfuseAdvanced.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/enfuseAdvanced.lua b/contrib/enfuseAdvanced.lua index 0557bb0..9fb49c0 100644 --- a/contrib/enfuseAdvanced.lua +++ b/contrib/enfuseAdvanced.lua @@ -45,7 +45,7 @@ If you have a specific set of parameters you frequently like to use, you can sav target file: Select your file destination path, or check the 'save to source image location' option. -Unless 'Create unique filename' is selected, it will overwrite existing files +'Create Unique Filename' is enabled by default at startup, the user can choose to overwrite existing Set any tags or style you desire to be added to the new image (only available if the auto-import option is enabled). You can also change the defaults for this under settings > lua options format options: @@ -860,7 +860,7 @@ temp = dt.preferences.read(mod, 'active_on_conflict_ind', 'integer') if not InRange(temp, 1, 2) then temp = 1 end GUI.Target.on_conflict = dt.new_widget('combobox'){ label = _('on conflict'), - selected = temp, + selected = 1, 'create unique filename','overwrite', changed_callback = function(self) dt.preferences.write(mod, 'active_on_conflict', 'string', self.value)