Skip to content

Commit

Permalink
Fixes button for bool AttrW
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed May 13, 2024
1 parent f88f4d3 commit 13dc9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastcs/backends/epics/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _get_attribute_component(self, attr_path: str, name: str, attribute: Attribu
return SignalR(name=name, read_pv=pv, read_widget=read_widget)
case AttrW():
write_widget = self._get_write_widget(attribute.datatype)
return SignalW(name=name, write_pv=pv, write_widget=TextWrite())
return SignalW(name=name, write_pv=pv, write_widget=write_widget)

Check warning on line 101 in src/fastcs/backends/epics/gui.py

View check run for this annotation

Codecov / codecov/patch

src/fastcs/backends/epics/gui.py#L101

Added line #L101 was not covered by tests

def _get_command_component(self, attr_path: str, name: str):
pv = self._get_pv(attr_path, name)
Expand Down

0 comments on commit 13dc9fb

Please sign in to comment.