mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[LocationCompleter] Hide completion popup after Alt+Enter.
Hides completion popup after opening new tab with Alt+Enter shortcut.
This commit is contained in:
parent
f651125c5c
commit
77aa5b0f07
@ -18,6 +18,8 @@
|
||||
#ifndef QZ_NAMESPACE_H
|
||||
#define QZ_NAMESPACE_H
|
||||
|
||||
#include <QFlags>
|
||||
|
||||
#ifdef QUPZILLA_SHAREDLIBRARY
|
||||
#define QT_QUPZILLA_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
@ -32,8 +34,6 @@
|
||||
#define Q_LIKELY(x) x
|
||||
#endif
|
||||
|
||||
#include <QFlags>
|
||||
|
||||
namespace Qz
|
||||
{
|
||||
// Version of session.dat file
|
||||
|
@ -473,6 +473,7 @@ void LocationBar::keyPressEvent(QKeyEvent* event)
|
||||
break;
|
||||
|
||||
case Qt::AltModifier:
|
||||
m_completer.closePopup();
|
||||
p_QupZilla->tabWidget()->addView(createUrl());
|
||||
m_holdingAlt = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user