summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-02-22 10:45:51 +0100
committermegabigbug <megabigbug@arrakis.(none)>2010-02-22 10:45:51 +0100
commitab75e99f29bcc76d1c476001eab4d877a564a39b (patch)
tree37538d62625a4e62f0578ca4f17eecb677047ec8 /src/webview.cpp
parentrekonq 0.3.94 (diff)
downloadrekonq-ab75e99f29bcc76d1c476001eab4d877a564a39b.tar.xz
select element in webinspector when toggle "Inspect Element"
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}