summaryrefslogtreecommitdiff
path: root/lib/gui/preferences.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-07-11 22:12:01 +0200
committerGitHub <noreply@github.com>2025-07-11 22:12:01 +0200
commit7bd72274780ccaeae8bbae6e761341079df21ecb (patch)
tree8979201b59645624cf585b13a20f44cb006a282d /lib/gui/preferences.py
parent69929236217974f98b58cf3c458835b91c4cb35d (diff)
Do not redefine underscore (#3865)
* do not redefine underscore * Disallow any redefinitions going forward --------- Co-authored-by: CapellanCitizen <>
Diffstat (limited to 'lib/gui/preferences.py')
-rw-r--r--lib/gui/preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/preferences.py b/lib/gui/preferences.py
index b95bb7c8..1eaac5f5 100644
--- a/lib/gui/preferences.py
+++ b/lib/gui/preferences.py
@@ -205,7 +205,7 @@ class PreferencesFrame(wx.Frame):
metadata = self.extension.get_inkstitch_metadata()
metadata['min_stitch_len_mm'] = self.minimum_stitch_length.GetValue()
metadata['collapse_len_mm'] = self.minimum_jump_stitch_length.GetValue()
- _, metadata['rotate_on_export'] = self.rotate_on_export_choices[self.rotate_on_export.GetCurrentSelection()]
+ metadata['rotate_on_export'] = self.rotate_on_export_choices[self.rotate_on_export.GetCurrentSelection()][1]
global_settings['default_min_stitch_len_mm'] = self.default_minimum_stitch_length.GetValue()
global_settings['default_collapse_len_mm'] = self.default_minimum_jump_stitch_length.GetValue()