No private to slot

This commit is contained in:
atse 2023-08-29 13:11:25 +08:00
parent 5c8ab769f3
commit 1581aa4027
1 changed files with 2 additions and 2 deletions

View File

@ -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()