Auto clear/hide search when open a chat. Fixes #7423

This commit is contained in:
Denis Fomin 2013-08-15 12:45:38 +04:00
parent 2a23a484a0
commit 3be422c0ec
1 changed files with 2 additions and 2 deletions

View File

@ -4059,6 +4059,8 @@ class RosterWindow:
When an iter is activated (double-click or single click if gnome is set
this way)
"""
if self.rfilter_enabled:
self.disable_rfilter()
model = self.modelfilter
account = model[path][C_ACCOUNT]
type_ = model[path][C_TYPE]
@ -4125,8 +4127,6 @@ class RosterWindow:
"""
When an iter is double clicked: open the first event window
"""
if self.rfilter_enabled:
self.disable_rfilter()
if not gajim.single_click:
self.on_row_activated(widget, path)