瀏覽代碼

Fix CfgProcParamWidget for mixin transition

Michael Hanke 1 年之前
父節點
當前提交
c4b0530e34
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      datalad_gooey/param_widgets.py

+ 1 - 2
datalad_gooey/param_widgets.py

@@ -410,9 +410,8 @@ class CfgProcParamWidget(ChoiceParamWidget):
     """Choice widget with items from `run_procedure(discover=True)`"""
     def __init__(self, choices=None, parent=None):
         super().__init__(parent=parent)
-        self.init_gooey_from_params({})
 
-    def init_gooey_from_params(self, spec: Dict) -> None:
+    def _init_gooey_from_other_params(self, spec: Dict) -> None:
         if self.count() and 'dataset' not in spec:
             # we have items and no context change is required
             return