mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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:
parent
bdf4e01d7a
commit
4e4d50eff6
@ -364,6 +364,7 @@ class WebView(QWebView):
|
|||||||
self.setPage(self._page)
|
self.setPage(self._page)
|
||||||
self.inspector.setPage(self._page)
|
self.inspector.setPage(self._page)
|
||||||
self.clear()
|
self.clear()
|
||||||
|
self.setAcceptDrops(False)
|
||||||
|
|
||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
return self._size_hint
|
return self._size_hint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user