From 68dd0f46143406e926bbd7990af50fda733e9e92 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Fri, 23 Mar 2018 15:38:54 +0100 Subject: [PATCH] [Run Command] Pass "event" to runCurrentIndex It is needed so it can access keyboard modifiers and invoke the secondary action on Shift+Return. --- lookandfeel/contents/runcommand/RunCommand.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lookandfeel/contents/runcommand/RunCommand.qml b/lookandfeel/contents/runcommand/RunCommand.qml index 66e41e19e..fd0a71600 100644 --- a/lookandfeel/contents/runcommand/RunCommand.qml +++ b/lookandfeel/contents/runcommand/RunCommand.qml @@ -114,8 +114,8 @@ ColumnLayout { results.incrementCurrentIndex(); } } - Keys.onEnterPressed: results.runCurrentIndex() - Keys.onReturnPressed: results.runCurrentIndex() + Keys.onEnterPressed: results.runCurrentIndex(event) + Keys.onReturnPressed: results.runCurrentIndex(event) Keys.onEscapePressed: { runnerWindow.visible = false