Merge branch 'issue-8548-master' into 'master'

Fix issue  on master: Do not close chat window on ESC key when roster filtering is active

Closes 

See merge request 
This commit is contained in:
Philipp Hörist 2017-03-25 17:23:51 +01:00
commit fbb19c5c50

View file

@ -3805,7 +3805,7 @@ class RosterWindow:
if event.keyval == Gdk.KEY_Escape:
if self.rfilter_enabled:
self.disable_rfilter()
return
return True
if gajim.interface.msg_win_mgr.mode == \
MessageWindowMgr.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER and \
gajim.interface.msg_win_mgr.one_window_opened():