Make "invite to" menuitem sensitive when possible. Regression introduced in r9524.
This commit is contained in:
parent
3193a8e8cf
commit
b1a2951634
|
@ -5507,7 +5507,7 @@ class RosterWindow:
|
||||||
elif contacts_transport != transport:
|
elif contacts_transport != transport:
|
||||||
contacts_transport = False
|
contacts_transport = False
|
||||||
|
|
||||||
if not contacts_transport:
|
if contacts_transport == False:
|
||||||
# they are not all from the same transport
|
# they are not all from the same transport
|
||||||
invite_menuitem.set_sensitive(False)
|
invite_menuitem.set_sensitive(False)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue