mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 09:12:34 -04:00
Edit book: Disallow drag and drop of documents onto the preview panel to workaround crashing bug in Qt. Fixes #1416752 [Drag and Drop Image Crashes Editor](https://bugs.launchpad.net/calibre/+bug/1416752)
This commit is contained in:
@@ -364,6 +364,7 @@ class WebView(QWebView):
|
||||
self.setPage(self._page)
|
||||
self.inspector.setPage(self._page)
|
||||
self.clear()
|
||||
self.setAcceptDrops(False)
|
||||
|
||||
def sizeHint(self):
|
||||
return self._size_hint
|
||||
|
||||
Reference in New Issue
Block a user