소스 검색

Calling set_gooey_param_value() for PathParamWidget must setModified()

Otherwise it won't be recognized as a value to report by
`get_gooey_param_value()`
Michael Hanke 1 년 전
부모
커밋
041b36fced
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      datalad_gooey/param_widgets.py

+ 1 - 0
datalad_gooey/param_widgets.py

@@ -337,6 +337,7 @@ class PathParamWidget(QWidget, GooeyParamWidgetMixin):
 
     def _set_gooey_param_value(self, value):
         self._edit.setText(str(value))
+        self._edit.setModified(True)
 
     def set_gooey_param_default(self, value):
         placeholder = 'Select path'