1
0
Fork 0

Add keyboard shortcut for the map. (Ctrl-M)

Fixed bug 766, finally.
This commit is contained in:
James Turner 2013-11-05 08:05:27 +00:00
parent bb1443f96e
commit e5f5fbac15
2 changed files with 9 additions and 0 deletions

View file

@ -312,6 +312,7 @@
<item> <item>
<name>map</name> <name>map</name>
<key>Ctrl-M</key>
<binding> <binding>
<command>dialog-show</command> <command>dialog-show</command>
<dialog-name>map</dialog-name> <dialog-name>map</dialog-name>

View file

@ -130,6 +130,14 @@ top down before the key bindings are parsed.
<property>/controls/flight/rudder</property> <property>/controls/flight/rudder</property>
<step type="double">0.05</step> <step type="double">0.05</step>
</binding> </binding>
<!-- Ctrl-M generates Enter, but we want to show the map in that case -->
<mod-ctrl>
<binding>
<command>dialog-show</command>
<dialog-name>map</dialog-name>
</binding>
</mod-ctrl>
</key> </key>
<key n="13"> <!-- PLIB --> <key n="13"> <!-- PLIB -->