home · contact · privacy
Fix bad attribute reference.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 25 Sep 2024 05:02:29 +0000 (07:02 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 25 Sep 2024 05:02:29 +0000 (07:02 +0200)
browser.py
stable/gen_params.py

index 38a98890cbf258c635de232a12c297736ad18860..56b46f83d2097729762fd30baf23ed1b6c1ca5c7 100755 (executable)
@@ -748,7 +748,7 @@ class MainWindow(Gtk.Window):
         self.app.sort_order.clear()
         for i in range(self.sort_store.get_n_items()):
             sorter = self.sort_store.get_item(i)
-            sorter.list_item.remove_css_class('temp')
+            sorter.widget.remove_css_class('temp')
             self.app.sort_order += [sorter]
         self.btn_activate_sort.props.sensitive = False
         old_selection = self.gallery.selected_item
@@ -872,7 +872,7 @@ class MainWindow(Gtk.Window):
         self.sort_selection.props.selected = cur_idx + direction
         for i in range(self.sort_store.get_n_items()):
             sort_item = self.sort_store.get_item(i)
-            sort_item.list_item.add_css_class('temp')
+            sort_item.widget.add_css_class('temp')
         self.btn_activate_sort.props.sensitive = True
 
     def move_selection_in_sort_order(self, direction):
index a1e72e86e8e2289590b994b4360a93c570aea3c3..e568c2f323ef4e94e1c590b9c11f25d8b0d37a1e 100644 (file)
@@ -4,6 +4,9 @@ GEN_PARAMS_FLOAT = ('GUIDANCE',)
 GEN_PARAMS = GEN_PARAMS_STR + GEN_PARAMS_INT + GEN_PARAMS_FLOAT
 
 
+# TODO check AUTOMATIC1111 /modules/processing.py for create_infotext
+
+
 class GenParams:
 
     def __init__(self, **kwargs):