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
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):
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):