Commit 89f778fb authored by Yann Leboulanger's avatar Yann Leboulanger

ton't traceback when showing tooltip of a filetransfer without description

parent dc4d6b7a
......@@ -627,8 +627,10 @@ class FileTransfersTooltip(BaseTooltip):
else:
status = _('Not started')
properties.append((_('Status: '), status))
file_desc = file_props['desc']
properties.append((_('Description: '), gobject.markup_escape_text(file_desc)))
if 'desc' in file_props:
file_desc = file_props['desc']
properties.append((_('Description: '), gobject.markup_escape_text(
file_desc)))
while properties:
property = properties.pop(0)
current_row += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment