Commit 7fec10ff authored by Eike Hein's avatar Eike Hein
Browse files

Make Ctrl+A work regardless of focus and visualize active selection in search heading

Summary: BUG:405076

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision:
parent 892b1b9e
......@@ -190,6 +190,10 @@ void DashboardWindow::keyPressEvent(QKeyEvent *e)
e->nativeScanCode(), e->nativeVirtualKey(), e->nativeModifiers(),
e->text(), e->isAutoRepeat(), e->count());
QCoreApplication::postEvent(this, eventCopy);
// We _need_ to do it twice to make sure the event ping-pong needed
// for delivery happens before we sap focus again.
if (previousFocusItem) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment