Skip to content

Commit

Permalink
Fix style settings lock not applied on first view
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Dec 16, 2024
1 parent bf9382e commit b469c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ai_diffusion/ui/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ def __init__(self, server: Server):

self._builtin_message = QLabel(_("Built-in styles cannot be modified."), self)
self._builtin_message.setStyleSheet(f"font-style: italic; color: {theme.highlight};")
self._builtin_message.setVisible(False)
self._builtin_copy = QLabel("<a href='copy'>Click to edit a copy</a>", self)
self._builtin_copy.linkActivated.connect(self._duplicate_style)

Expand Down

0 comments on commit b469c73

Please sign in to comment.