Make the route-manager dialog synchronize text-field state again, and disable some buttons when a route is already active. More work to do in this area.
This commit is contained in:
parent
3b275abc32
commit
5a29a9b4d5
1 changed files with 9 additions and 0 deletions
|
@ -331,6 +331,12 @@ command interface /autopilot/route-manager/input:
|
|||
<button>
|
||||
<legend>Activate</legend>
|
||||
<equal>true</equal>
|
||||
<enable>
|
||||
<not><property>/autopilot/route-manager/active</property></not>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>activate_fp()</script>
|
||||
|
@ -342,6 +348,9 @@ command interface /autopilot/route-manager/input:
|
|||
<button>
|
||||
<legend>Load List</legend>
|
||||
<equal>true</equal>
|
||||
<enable>
|
||||
<not><property>/autopilot/route-manager/active</property></not>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>load()</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue