mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Show WebInspector will not be shown in context menu when clicking in textarea/input
This commit is contained in:
parent
aa5082d373
commit
2e9586474f
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ src0.9.6
|
||||||
src0.9.7
|
src0.9.7
|
||||||
*.deb
|
*.deb
|
||||||
*.pro.user
|
*.pro.user
|
||||||
|
license_template
|
||||||
|
|
|
@ -468,10 +468,10 @@ void WebView::contextMenuEvent(QContextMenuEvent* event)
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
menu->addAction(QIcon::fromTheme("text-html"),tr("Show source code"), this, SLOT(showSource()));
|
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(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);
|
mApp->plugins()->populateWebViewMenu(menu, this, r);
|
||||||
menu->addAction(tr("Show Web Inspector"), this, SLOT(showInspector()));
|
|
||||||
|
|
||||||
if (!page()->selectedText().isEmpty()) {
|
if (!page()->selectedText().isEmpty()) {
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user