Skip to content

Commit 84b58bc

Browse files
committed
[23.41] Trigger search on search entry focus-out [CUSTOM] (#66)
PCLAS-363
1 parent dd57ca3 commit 84b58bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tryton/tryton/gui/window/view_form/view/form_gtk/sourceeditor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def __init__(self, view, attrs):
155155
self.search_entry.props.max_width_chars = 40
156156
self.search_entry.props.placeholder_text = _("Search")
157157
self.search_entry.connect('activate', self.do_search)
158+
self.search_entry.connect('focus-out-event', self.do_search)
158159
self.search_entry.set_icon_from_icon_name(
159160
Gtk.EntryIconPosition.PRIMARY, 'system-search-symbolic')
160161
self.replace_entry = Gtk.Entry()

0 commit comments

Comments
 (0)