work around progress dlg hang at startup on osx

with autosync on, when the progress dialog is closed and the main window
appears, it becomes stuck. hiding the dialog instead of closing it
seems to fix this.
This commit is contained in:
Damien Elmes 2018-01-14 19:29:56 +10:00
parent bff61b95e9
commit 52313fd0bf

View file

@ -85,7 +85,7 @@ class ProgressManager:
def cancel(self): def cancel(self):
self._closingDown = True self._closingDown = True
self.close() self.hide()
def closeEvent(self, evt): def closeEvent(self, evt):
if self._closingDown: if self._closingDown: