Merge pull request #1192 from croneter/fix-dialog
Fix regression: sync dialog not showing up when it should
This commit is contained in:
commit
618c7388b4
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ class Sync(backgroundthread.KillableThread):
|
||||||
"""
|
"""
|
||||||
if app.SYNC.run_lib_scan in ("full", "repair"):
|
if app.SYNC.run_lib_scan in ("full", "repair"):
|
||||||
LOG.info('Full library scan requested, starting')
|
LOG.info('Full library scan requested, starting')
|
||||||
self.start_library_sync(show_dialog=app.SYNC.run_lib_scan == 'repair',
|
show_dialog = True if app.SYNC.run_lib_scan == 'repair' \
|
||||||
|
else None
|
||||||
|
self.start_library_sync(show_dialog=show_dialog,
|
||||||
repair=app.SYNC.run_lib_scan == 'repair',
|
repair=app.SYNC.run_lib_scan == 'repair',
|
||||||
block=True)
|
block=True)
|
||||||
if (not self.sync_successful and
|
if (not self.sync_successful and
|
||||||
|
|
Loading…
Reference in a new issue