don't try to resize groupchat contact list that are not yet re-added to window when we change window mode behaviour. Fixes #5663
This commit is contained in:
parent
d3ae49ea60
commit
8ca195131b
|
@ -467,8 +467,10 @@ class GroupchatControl(ChatControlBase):
|
||||||
for account in gajim.gc_connected:
|
for account in gajim.gc_connected:
|
||||||
for room_jid in [i for i in gajim.gc_connected[account] if \
|
for room_jid in [i for i in gajim.gc_connected[account] if \
|
||||||
gajim.gc_connected[account][i] and i != self.room_jid]:
|
gajim.gc_connected[account][i] and i != self.room_jid]:
|
||||||
ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid, account)
|
ctrl = gajim.interface.msg_win_mgr.get_gc_control(room_jid,
|
||||||
if not ctrl:
|
account)
|
||||||
|
if not ctrl and room_jid in \
|
||||||
|
gajim.interface.minimized_controls[account]:
|
||||||
ctrl = gajim.interface.minimized_controls[account][room_jid]
|
ctrl = gajim.interface.minimized_controls[account][room_jid]
|
||||||
if ctrl:
|
if ctrl:
|
||||||
ctrl.resize_occupant_treeview(hpaned_position)
|
ctrl.resize_occupant_treeview(hpaned_position)
|
||||||
|
|
Loading…
Reference in New Issue