1
0
Fork 0

Fix not working multi-key commands.

Squashed commit of the following:

commit 87dde155b2ee472a5a2c12cc1f395256a68fbf7c
Author: Roman Ludwicki <romek21@op.pl>
Date:   Fri Nov 19 18:18:44 2021 +0100

    Fix not working multi-key commands.

    Replace the nonexistent @pop command with @delete0 to delete the first waypoint in the route.

    Fix "position on ground" dialog.
This commit is contained in:
Stuart Buchanan 2021-12-05 14:35:41 +00:00
parent 650ec1ce70
commit 6b4d88e01e

View file

@ -158,7 +158,7 @@
<exit/>
<binding>
<command>dialog-show</command>
<dialog-name>location-on-ground</dialog-name>
<dialog-name>airports</dialog-name>
</binding>
</key>
</key>
@ -1017,7 +1017,7 @@
<desc>Remove first waypoint</desc>
<binding>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/input", "@pop")</script>
<script>setprop("/autopilot/route-manager/input", "@delete0")</script>
</binding>
</key>
</key>