Browse Source

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.
adaptive-webui-19844
NotTsunami 5 years ago
parent
commit
c5aab39836
  1. 4
      src/gui/loglistwidget.cpp

4
src/gui/loglistwidget.cpp

@ -72,8 +72,8 @@ void LogListWidget::keyPressEvent(QKeyEvent *event) @@ -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)

Loading…
Cancel
Save