(self)
User edited the current variable in editor.
User edited the current variable in editor.
User edited the current variable in editor .
def _on_variable_changed(self):
        """User edited the current variable in editor."""
        assert 0 <= self.selected_index <= len(self.variables_model)
        editor = self._editor
        var, transform = editor.get_data()
        model = self.variables_model
        midx = model.index(self.selected_index, 0)
        model.setData(midx, transform, TransformRole)
        self._store_transform(var, transform)
        self._invalidate()
def _on_variable_changed ( self ) : assert 0 <= self . selected_index <= len ( self . variables_model ) editor = self . _editor var , transform = editor . get_data ( ) model = self . variables_model midx = model . index ( self . selected_index , 0 ) model . setData ( midx , transform , TransformRole ) self . _store_transform ( var , transform ) self . _invalidate ( )