Skip to content

Commit

Permalink
[STUDIO] Handle empty string widget properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ObaraEmmanuel committed Nov 7, 2024
1 parent 8d7c58c commit 78adec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studio/lib/pseudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def set(widget, value, prop):
@staticmethod
def get(widget, prop):
val = getattr(widget, f"_wdgt_prop_{prop}", "")
if isinstance(val, str):
if val and isinstance(val, str):
try:
val = widget.nametowidget(val)
except:
Expand Down

0 comments on commit 78adec5

Please sign in to comment.