Skip to content
Snippets Groups Projects
Commit 8ca19513 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't try to resize groupchat contact list that are not yet re-added to window...

don't try to resize groupchat contact list that are not yet re-added to window when we change window mode behaviour. Fixes #5663
parent d3ae49ea
No related branches found
No related tags found
No related merge requests found
......@@ -467,8 +467,10 @@ class GroupchatControl(ChatControlBase):
for account in gajim.gc_connected:
for room_jid in [i for i in gajim.gc_connected[account] if \
gajim.gc_connected[account][i] and i != self.room_jid]:
ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid, account)
if not ctrl:
ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid,
account)
if not ctrl and room_jid in \
gajim.interface.minimized_controls[account]:
ctrl = gajim.interface.minimized_controls[account][room_jid]
if ctrl:
ctrl.resize_occupant_treeview(hpaned_position)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment