Skip to content

Commit

Permalink
change draw_display behavior of CueObject
Browse files Browse the repository at this point in the history
* None objects are note display
* strings are printed
  • Loading branch information
agoscinski committed Dec 23, 2023
1 parent 0ce5821 commit 7bbaba0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/scwidgets/cue/_widget_cue_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ def clear_display(self, wait=False):

def draw_display(self):
with self:
display(self._display_object)
if isinstance(self._display_object, str):
print(self._display_object)
elif self._display_object is not None:
display(self._display_object)

0 comments on commit 7bbaba0

Please sign in to comment.