mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-28 01:32:34 -04:00
Linux: Fix a regression that broke file dialogs on systems where kdialog fails. Fixes #1897257 [Calibre 5.0 - import cover hangs](https://bugs.launchpad.net/calibre/+bug/1897257)
This commit is contained in:
@@ -306,7 +306,6 @@ def linux_native_dialog(name):
|
||||
ret[0] = func(window, *args, **kwargs)
|
||||
except:
|
||||
ret[1] = sys.exc_info()
|
||||
sys.exc_clear()
|
||||
while not loop.isRunning():
|
||||
time.sleep(0.001) # yield so that loop starts
|
||||
loop.quit()
|
||||
|
||||
Reference in New Issue
Block a user