Change default behavior of startup dialog

In case it is forced closed by Kodi, allow the sync to proceed
This commit is contained in:
angelblue05 2018-10-24 03:55:53 -05:00
parent 531991c630
commit 043a2574b1

View file

@ -387,7 +387,9 @@ class Library(threading.Thread):
if total > int(settings('syncIndicator') or 99):
if not dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total))):
''' Inverse yes no, in case the dialog is forced closed by Kodi.
'''
if dialog("yesno", heading="{emby}", line1=_(33172).replace('{number}', str(total)), nolabel=_(107), yeslabel=_(106)):
LOG.warn("Large updates skipped.")
return True