Commit e99f996b authored by Nate Graham's avatar Nate Graham 💤
Browse files

Focus search field by default

Summary:
In general, apps that have Search Fields always visible put the focus there by default.
For example: System Settings and Discover. However KMenuEdit does not follow this pattern.

This patch fixes that.

BUG: 413563
FIXED-IN: 5.18.0

Test Plan: Open kmenuedit and start typing because the search field is now focused by default

Reviewers: #vdg, #plasma, cfeck

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25145
parent 4939991d
......@@ -181,7 +181,7 @@ void KMenuEdit::setupView()
sizes << 1 << 3;
}
m_splitter->setSizes(sizes);
m_tree->setFocus();
m_searchLine->setFocus();
setCentralWidget(m_splitter);
}
......
Markdown is supported
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