Showing 1 changed files with 9 additions and 0 deletions
+9
Nasal/MFD.pages.nas
... ...
@@ -1,6 +1,15 @@
1 1
 # vim: set foldmethod=marker foldmarker={{{,}}} :
2 2
 displayClass.MFD = {
3 3
     AUX: {
4
+        'TRIP PLANNING' : func {
5
+            me.device.buttons.CLR = func {
6
+                me.device.buttons.CLR = func;
7
+                fgcommand('dialog-close', { 'dialog-name' : 'route-manager' });
8
+                fgcommand('dialog-close', { 'dialog-name' : 'map' });
9
+            };
10
+            fgcommand('dialog-show', { 'dialog-name' : 'map' });
11
+            fgcommand('dialog-show', { 'dialog-name' : 'route-manager' });
12
+        },
4 13
         'SYSTEM SETUP' : func {
5 14
             var obj_infos = [
6 15
                 {text: 'NAV BOX DATA FIELDS', type: 'title'},