From ab75e99f29bcc76d1c476001eab4d877a564a39b Mon Sep 17 00:00:00 2001 From: megabigbug Date: Mon, 22 Feb 2010 10:45:51 +0100 Subject: select element in webinspector when toggle "Inspect Element" --- src/webview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webview.cpp b/src/webview.cpp index e39ff32e..80d44d10 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -425,6 +425,7 @@ void WebView::inspect() QAction *a = Application::instance()->mainWindow()->actionByName("web_inspector"); if(a && !a->isChecked()) a->trigger(); + pageAction(QWebPage::InspectElement)->trigger(); } -- cgit v1.2.1