reset tooltip on send file button when filetransfer become available. Fixes #5669
This commit is contained in:
parent
fe967aa4b1
commit
20fbaff581
|
@ -1512,6 +1512,7 @@ class ChatControl(ChatControlBase):
|
|||
# Send file
|
||||
if self.contact.supports(NS_FILE) and self.contact.resource:
|
||||
self._send_file_button.set_sensitive(True)
|
||||
self._send_file_button.set_tooltip_text('')
|
||||
else:
|
||||
self._send_file_button.set_sensitive(False)
|
||||
if not self.contact.supports(NS_FILE):
|
||||
|
|
Loading…
Reference in New Issue