diff --git a/python/pyrogue/pydm/widgets/process.py b/python/pyrogue/pydm/widgets/process.py index 0c71e8e72..560d896b2 100644 --- a/python/pyrogue/pydm/widgets/process.py +++ b/python/pyrogue/pydm/widgets/process.py @@ -114,6 +114,11 @@ def connection_changed(self, connected): w.showStepExponent = False w.writeOnPress = True + elif v.isCommand and not v.arg: + w = PyDMPushButton(label='Exec', + pressValue=1, + init_channel=self._path + '.{}/disp'.format(v.name)) + else: w = PyRogueLineEdit(parent=None, init_channel=self._path + '.{}/disp'.format(v.name)) w.showUnits = True