def valueChange(self, event):
        f = event.getProperty().getValue()
        v = self._tree.getValue()
        if ((f is not None and f != v)
                and (f is None and v is not None)):
            self._tree.setValue(f)
        self._window.removeSubwindows()
dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/SamplerApplication.py/FeatureChangeListener.valueChange/operator `or` -> `and`