mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -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:
parent
7e19788078
commit
bf5434be4e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user