

@on_trait_change('history:value')
def _value_changed(self, value):
    " Handles the history object's 'value' trait being changed.\n        "
    if (not self._dont_update):
        history = self.history
        try:
            self._dont_update = True
            self.value = history.value
            value.error = False
        except:
            history.error = True
        do_later(self.set, _dont_update=False)

dataset/ETHPy150Open enthought/traitsui/traitsui/wx/history_editor.py _HistoryEditor._value_changed/VarMisuse@54/94 `history`->`value`