def row_activate(self, obj): """See :class:`SearchDialog.row_activate` """ if self.double_click_confirm: SearchDialog.row_activate(self, obj) elif self.accept_edit_data: self._edit(obj)