1
0
Fork 0

Launcher: add key shortcut for Fly!

Ctrl-F, since we don’t have a find function.

Requested by Richard, and easy to add :)
This commit is contained in:
James Turner 2020-06-09 14:53:31 +01:00
parent 43130aa581
commit aedaf798c0

View file

@ -156,6 +156,8 @@ Item {
z: 100 z: 100
items: [ items: [
MenuItem { text:qsTr("Fly!"); shortcut: "Ctrl+F";
onTriggered: _launcher.fly(); },
MenuItem { text:qsTr("Open saved configuration..."); shortcut: "Ctrl+O"; MenuItem { text:qsTr("Open saved configuration..."); shortcut: "Ctrl+O";
onTriggered: _launcher.openConfig(); }, onTriggered: _launcher.openConfig(); },
MenuItem { text:qsTr("Save configuration as..."); shortcut: "Ctrl+S"; MenuItem { text:qsTr("Save configuration as..."); shortcut: "Ctrl+S";