always update satin param ()

pull/3659/head
Kaalleen 2025-04-12 05:59:54 +02:00 zatwierdzone przez GitHub
rodzic b932d2ae21
commit 00b8297b1e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 9 dodań i 0 usunięć
lib/extensions

Wyświetl plik

@ -97,6 +97,15 @@ class ParamsTab(ScrolledPanel):
if self.toggle:
self.update_toggle_state()
# when there is a selection with satin elements and elements the user wants to turn into satins,
# the satin checkbox will be activated and everything (except for running stitches with
# only one subpath) will show in the simulator as satin.
# It is highly confusing for users, when these elements are still running stitches when they click on apply.
# So let's add the satin column param to the list of changed_inputs right away - even when they didn't actively
# change it
if self.toggle and self.toggle.name == 'satin_column':
self.enable_change_indicator(self.toggle.name)
self.changed_inputs.add(self.toggle_checkbox)
self.update_enable_widgets()