From c5aab39836e7adbe1ba75491926df2fd75871a57 Mon Sep 17 00:00:00 2001 From: NotTsunami <4589807+NotTsunami@users.noreply.github.com> Date: Tue, 17 Mar 2020 01:29:59 -0400 Subject: [PATCH] Allow other keypresses in LogListWidget By not emitting the native signal, all other keypresses other than the copy and select keysequences are ignored. This should reallow keyboard navigation within LogListWidget objects. Closes #12172. --- src/gui/loglistwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/loglistwidget.cpp b/src/gui/loglistwidget.cpp index d66841233..a39da20a7 100644 --- a/src/gui/loglistwidget.cpp +++ b/src/gui/loglistwidget.cpp @@ -72,8 +72,8 @@ void LogListWidget::keyPressEvent(QKeyEvent *event) { if (event->matches(QKeySequence::Copy)) copySelection(); - else if (event->matches(QKeySequence::SelectAll)) - selectAll(); + else + QListWidget::keyPressEvent(event); } void LogListWidget::appendLine(const QString &line, const Log::MsgType &type)