diff --git a/plugins/runcommand/kdeconnect_runcommand_config.qml b/plugins/runcommand/kdeconnect_runcommand_config.qml index c0908450c..02d798595 100644 --- a/plugins/runcommand/kdeconnect_runcommand_config.qml +++ b/plugins/runcommand/kdeconnect_runcommand_config.qml @@ -124,7 +124,7 @@ Kirigami.ScrollablePage { command: "qdbus org.kde.kded5 /modules/plasmavault forceCloseAllVaults" } } - onActivated: { + onActivated: index => { if (index > 0) { nameField.text = sampleCommands.get(index).name commandField.text = sampleCommands.get(index).command