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