From e86f96878e6853b399c772cb106f4ec01f3ba1bd Mon Sep 17 00:00:00 2001 From: David Rosca Date: Mon, 20 Feb 2017 17:20:00 +0100 Subject: [PATCH] Fix clicking on go icon when location completer popup is visible Closes #2225 --- src/lib/navigation/goicon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/navigation/goicon.cpp b/src/lib/navigation/goicon.cpp index 2bba8978c..181d9f8cf 100644 --- a/src/lib/navigation/goicon.cpp +++ b/src/lib/navigation/goicon.cpp @@ -1,6 +1,6 @@ /* ============================================================ -* QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* QupZilla - Qt web browser +* Copyright (C) 2010-2017 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,6 +24,7 @@ GoIcon::GoIcon(QWidget* parent) { setObjectName("locationbar-goicon"); setCursor(Qt::PointingHandCursor); + setFocusProxy(parent); } void GoIcon::contextMenuEvent(QContextMenuEvent* ev)