From a4bdf524e4dab2ee096b9c7a68c62471d5cdd112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 12 Dec 2013 12:45:35 +0100 Subject: [PATCH] Always match completion in search issue3527 review1981002 --- tryton/gui/window/view_form/view/screen_container.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/view_form/view/screen_container.py b/tryton/gui/window/view_form/view/screen_container.py index 13314347d0..c476f8e6a9 100644 --- a/tryton/gui/window/view_form/view/screen_container.py +++ b/tryton/gui/window/view_form/view/screen_container.py @@ -107,6 +107,7 @@ class ScreenContainer(object): self.completion.props.inline_selection = True if hasattr(self.completion.props, 'popup_set_width'): self.completion.props.popup_set_width = False + self.completion.set_match_func(lambda *a: True) self.completion.connect('match-selected', self.match_selected) self.search_entry.connect('activate', self.activate) self.search_entry.set_completion(self.completion)