Skip to content

Commit

Permalink
Fix diffusion model of the first style in the list being reset to the…
Browse files Browse the repository at this point in the history
… first available checkpoint #1227
  • Loading branch information
Acly committed Oct 13, 2024
1 parent 32c1767 commit ae66764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_diffusion/ui/settings_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def __init__(self, setting: Setting, model: QAbstractItemModel | None = None, pa
self.set_items(setting.items)

self._combo.setMinimumWidth(230)
self._combo.currentIndexChanged.connect(self._change_value)
self._combo.activated.connect(self._change_value)
self.set_widget(self._combo)
self._original_text = self._key_label.text()

Expand Down

0 comments on commit ae66764

Please sign in to comment.