Commit b3f3c96b authored by Eike Ziller's avatar Eike Ziller

Help: Fix "Open Link" context menu item in search pane.

It selected all text in the search result widget, instead of opening the
link.

Change-Id: I264a8cc7ab29e71519d6d10b75a21fcd940d459d
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 9e74d064
......@@ -260,7 +260,7 @@ void SearchWidget::contextMenuEvent(QContextMenuEvent *contextMenuEvent)
QAction *usedAction = menu.exec(mapToGlobal(contextMenuEvent->pos()));
if (usedAction == openLink)
browser->selectAll();
emit linkActivated(link);
else if (usedAction == openLinkInNewTab)
OpenPagesManager::instance().createPageFromSearch(link);
else if (usedAction == copyAnchorAction)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment