diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 52d16b4..46a4e2c 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -42,7 +42,7 @@ class MutexParameter(pTypes.ListParameter): def __init__(self, **opts): super().__init__(**opts) - self.sigValueChanged.connect(self._show_chosen_child) + self.sigValueChanged.connect(self.show_chosen_child) self.sigValueChanged.emit(self, self.opts['value']) def _get_param_from_value(self, value): @@ -54,7 +54,7 @@ class MutexParameter(pTypes.ListParameter): return self.children()[values_list.index(value)] @pyqtSlot(object, object) - def _show_chosen_child(self, value): + def show_chosen_child(self, value): for param in self.children(): param.hide()