Skip to content

Commit

Permalink
BUG: fix currentValue property in multistate widget to actually updat…
Browse files Browse the repository at this point in the history
…e widget color
  • Loading branch information
nstelter-slac committed Nov 3, 2023
1 parent 412657e commit c0b56d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pydm/widgets/byte.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ def currentValue(self, new_state: int) -> None:
"""
if new_state != self._curr_state:
self._curr_state = new_state
self.value_changed(new_state)

# color state setters/getters
@Property(QColor)
Expand Down

0 comments on commit c0b56d2

Please sign in to comment.