1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01:00

Show WebInspector will not be shown in context menu when clicking in textarea/input

This commit is contained in:
nowrep 2011-03-18 14:38:03 +01:00
parent aa5082d373
commit 2e9586474f
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ src0.9.6
src0.9.7
*.deb
*.pro.user
license_template

View File

@ -468,10 +468,10 @@ void WebView::contextMenuEvent(QContextMenuEvent* event)
menu->addSeparator();
menu->addAction(QIcon::fromTheme("text-html"),tr("Show source code"), this, SLOT(showSource()));
menu->addAction(QIcon::fromTheme("dialog-information"),tr("Show info about site"), this, SLOT(showSiteInfo()))->setData(url());
menu->addAction(tr("Show Web Inspector"), this, SLOT(showInspector()));
}
mApp->plugins()->populateWebViewMenu(menu, this, r);
menu->addAction(tr("Show Web Inspector"), this, SLOT(showInspector()));
if (!page()->selectedText().isEmpty()) {
menu->addSeparator();