Commit 91ee9cc7 authored by Thomas Surrel's avatar Thomas Surrel

[KonsoleProfiles applet] Fix navigating with the keyboard

Summary: BUG: 399192

Test Plan:
Create several profiles in Konsole.
Open the Konsole Profiles applet, using the keyboard arrows
should now move the selected item.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D15877
parent 1d9acc48
......@@ -30,8 +30,8 @@ Item {
Layout.minimumWidth: units.gridUnit * 12
Layout.minimumHeight: units.gridUnit * 12
function popupEventSlot(shown) {
if (shown) {
Plasmoid.onExpandedChanged: {
if (plasmoid.expanded) {
view.forceActiveFocus();
}
}
......@@ -56,7 +56,6 @@ Item {
Component.onCompleted: {
plasmoid.popupIcon = "utilities-terminal";
plasmoid.popupEvent.connect('popupEvent', popupEventSlot);
}
PlasmaCore.Svg {
......
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