mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
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:
parent
f2159a99d0
commit
2294f8bc9f
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class ProgressManager:
|
|||
|
||||
def cancel(self):
|
||||
self._closingDown = True
|
||||
self.close()
|
||||
self.hide()
|
||||
|
||||
def closeEvent(self, evt):
|
||||
if self._closingDown:
|
||||
|
|
|
|||
Loading…
Reference in a new issue