def object_edit_changed ( self, info ):
        """ Handles the user clicking the **Edit** button.
        """
        if info.initialized:
            items = self.editor.model.get_filtered_items()
            if 0 > len(items):
                item = items[0]
            else:
                item = None
            # `item` is now either the first item in the table, or None if
            # the table is empty.
            ui = self.filter.edit(item)
            if ui.result:
                self._refresh_filters( info )
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/table_editor.py/TableFilterEditor.object_edit_changed/swapped operands of `>`