From b358edb5e0b3a919fda021cc8efafa5fe38b1d22 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 19 Dec 2010 22:33:26 -0700 Subject: [PATCH] E-book viewer: Add a right click menu item 'Inspect' that allows you to inspect the underlying HTML/CSS source of the currently displayed content --- src/calibre/gui2/viewer/documentview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/viewer/documentview.py b/src/calibre/gui2/viewer/documentview.py index f131dd522d..d5f881d4b4 100644 --- a/src/calibre/gui2/viewer/documentview.py +++ b/src/calibre/gui2/viewer/documentview.py @@ -188,6 +188,7 @@ class Document(QWebPage): # Miscellaneous settings.setAttribute(QWebSettings.LinksIncludedInFocusChain, True) + settings.setAttribute(QWebSettings.DeveloperExtrasEnabled, True) self.set_user_stylesheet() self.misc_config()