Fix bug in device close code (bug 838)
Make sure that no notification is shown when the user has cancelled the sync operation.
This commit is contained in:
parent
9eafa4426a
commit
083437e7c7
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class gPodderSyncUI(object):
|
|||
def after_device_sync_callback(device, successful_sync):
|
||||
if device.cancelled:
|
||||
log('Cancelled by user.', sender=self)
|
||||
if successful_sync:
|
||||
elif successful_sync:
|
||||
title = _('Device synchronized')
|
||||
message = _('Your device has been synchronized.')
|
||||
self.notification(message, title)
|
||||
|
|
Loading…
Reference in a new issue