Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: 4f57adce by wurstsalat at 2022-10-03T21:20:26+02:00 fix: MessageActionsBox: Don’t fail if no contact is set while updating file actions
- - - - -
1 changed file:
- gajim/gtk/message_actions_box.py
Changes:
===================================== gajim/gtk/message_actions_box.py ===================================== @@ -447,7 +447,9 @@ def _update_send_file_button_tooltip(self): self._ui.sendfile_button.set_tooltip_text(tooltip_text) return
- assert self._contact is not None + if self._contact is None: + return + client = app.get_client(self._contact.account)
tooltip_text = _('Send File…')
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/4f57adce1666a1599b420c02ce87eb431...