Auto clear/hide search when open a chat. Fixes #7423
This commit is contained in:
parent
9d6edbb35c
commit
148963bcf4
|
@ -4041,6 +4041,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].decode('utf-8')
|
||||
type_ = model[path][C_TYPE]
|
||||
|
@ -4107,8 +4109,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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue