prevent a TB
This commit is contained in:
parent
0793c64053
commit
f16d8efb17
1 changed files with 4 additions and 2 deletions
|
@ -1213,6 +1213,8 @@ class RosterWindow:
|
||||||
path = model.get_path(iter)
|
path = model.get_path(iter)
|
||||||
account = model[iter][C_ACCOUNT].decode('utf-8')
|
account = model[iter][C_ACCOUNT].decode('utf-8')
|
||||||
contact = gajim.contacts.get_contact_with_highest_priority(account, jid)
|
contact = gajim.contacts.get_contact_with_highest_priority(account, jid)
|
||||||
|
if not contact:
|
||||||
|
return
|
||||||
|
|
||||||
xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_contact_context_menu',
|
xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_contact_context_menu',
|
||||||
APP)
|
APP)
|
||||||
|
|
Loading…
Add table
Reference in a new issue