From e3884260698562c427eb108eadc24e7443cedd95 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 21 Feb 2021 22:10:36 -0500 Subject: [PATCH] [Krunner] Leaner look --- lookandfeel/contents/runcommand/RunCommand.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lookandfeel/contents/runcommand/RunCommand.qml b/lookandfeel/contents/runcommand/RunCommand.qml index eccbd5931..a5cfd1469 100644 --- a/lookandfeel/contents/runcommand/RunCommand.qml +++ b/lookandfeel/contents/runcommand/RunCommand.qml @@ -78,13 +78,14 @@ ColumnLayout { Layout.alignment: Qt.AlignTop PlasmaComponents3.ToolButton { icon.name: "configure" + visible:false onClicked: { runnerWindow.visible = false runnerWindow.displayConfiguration() } Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure") Accessible.description: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure Search Plugins") - visible: runnerWindow.canConfigure + PlasmaComponents3.ToolTip { text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure KRunner...") } @@ -308,7 +309,7 @@ ColumnLayout { } Keys.onReturnPressed: runCurrentIndex(event) Keys.onEnterPressed: runCurrentIndex(event) - + Keys.onTabPressed: { if (currentIndex == listView.count-1) { listView.nextItemInFocusChain(true).forceActiveFocus(); @@ -339,7 +340,7 @@ ColumnLayout { queryField.focus = true; } } - + Keys.onUpPressed: decrementCurrentIndex() Keys.onDownPressed: incrementCurrentIndex()