Skip to content

Commit

Permalink
Fix MouseClickUI empty text
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag committed May 27, 2024
1 parent 53f3cc2 commit a6a5514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solaar/ui/rule_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def create_widgets(self):
def show(self, component, editable=True):
super().show(component, editable)
with self.ignore_changes():
self.field_b.set_text(component.button)
self.field_b.set_text(str(component.button) if component.button else "")
if isinstance(component.count, int):
self.field_c.set_value(component.count)
self.field_d.set_text(_DIV.CLICK)
Expand Down

0 comments on commit a6a5514

Please sign in to comment.