Close sync dialog if video playback starts
This commit is contained in:
parent
519c9675ae
commit
825237dfed
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ class FullSync(common.fullsync_mixin):
|
|||
'%s (%s)' % (self.section_name, self.section_type_text),
|
||||
'%s/%s %s'
|
||||
% (self.current, self.total, self.title))
|
||||
if app.APP.player.isPlayingVideo():
|
||||
self.dialog.close()
|
||||
self.dialog = None
|
||||
|
||||
def process_item(self, xml_item):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue