Merge pull request #12187 from NotTsunami/keypress

Allow other keypresses in LogListWidget
This commit is contained in:
Mike Tzou
2020-03-19 13:36:41 +08:00
committed by GitHub

View File

@@ -72,8 +72,8 @@ void LogListWidget::keyPressEvent(QKeyEvent *event)
{ {
if (event->matches(QKeySequence::Copy)) if (event->matches(QKeySequence::Copy))
copySelection(); copySelection();
else if (event->matches(QKeySequence::SelectAll)) else
selectAll(); QListWidget::keyPressEvent(event);
} }
void LogListWidget::appendLine(const QString &line, const Log::MsgType &type) void LogListWidget::appendLine(const QString &line, const Log::MsgType &type)