Only show avatar Save As menu if sha not None
This commit is contained in:
parent
e83a246703
commit
a48610632e
1 changed files with 2 additions and 1 deletions
|
@ -628,6 +628,7 @@ class ChatControl(ChatControlBase):
|
||||||
else:
|
else:
|
||||||
sha = self.gc_contact.avatar_sha
|
sha = self.gc_contact.avatar_sha
|
||||||
name = self.gc_contact.get_shown_name()
|
name = self.gc_contact.get_shown_name()
|
||||||
|
if sha is not None:
|
||||||
gui_menu_builder.show_save_as_menu(sha, name)
|
gui_menu_builder.show_save_as_menu(sha, name)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue