Showing 1 changed files with 6 additions and 2 deletions
+6 -2
Nasal/softkeys.nas
... ...
@@ -594,9 +594,11 @@ var softkeysClass = {
594 594
                         me.device.windows.del(id);
595 595
                         me.device.knobs.FmsOuter = func;
596 596
                         me.device.knobs.FmsInner = func;
597
-                        foreach (var b; ['ENT', 'CLR', 'MENU'])
597
+                        me.device.buttons.MENU = me.device.buttons.GlobalParams;
598
+                        foreach (var b; ['ENT', 'CLR'])
598 599
                             me.device.buttons[b] = func;
599 600
                     }
601
+                    me.device.buttons.MENU = func;
600 602
                     me.device.windows.draw( id, {autogeom: 1}, obj_infos );
601 603
                 },
602 604
                 _displayNearestCOMM: func (where) {
... ...
@@ -690,11 +692,13 @@ var softkeysClass = {
690 692
                     }
691 693
                     me.device.knobs.FmsInner = me.device.knobs.NavigateMenu;
692 694
                     me.device.knobs.FmsOuter = me.device.knobs.NavigateMenu;
695
+                    me.device.buttons.MENU = func;
693 696
                     me.device.buttons.CLR = func {
694 697
                         me.device.windows.del(id);
695 698
                         me.device.knobs.FmsOuter = func;
696 699
                         me.device.knobs.FmsInner = func;
697
-                        foreach (var b; ['ENT', 'CLR', 'MENU'])
700
+                        me.device.buttons.MENU = me.device.buttons.GlobalParams;
701
+                        foreach (var b; ['ENT', 'CLR'])
698 702
                             me.device.buttons[b] = func;
699 703
                     }
700 704
                     me.device.buttons.ENT    = me.device.buttons.ValidateTMRREF;