Browse Source

* fixes F10 to call the menu, by Sergey@michint

git-svn-id: trunk@588 -
florian 20 years ago
parent
commit
f6ca017761
1 changed files with 3 additions and 1 deletions
  1. 3 1
      fv/menus.pas

+ 3 - 1
fv/menus.pas

@@ -1389,7 +1389,9 @@ BEGIN
              Event.What := evCommand;                 { Change to command }
              Event.Command := T^.Command;             { Set command value }
              Event.InfoPtr := Nil;                    { Clear info ptr }
-             Exit;                                    { Now exit }
+             PutEvent(Event);                           { Put event on queue }
+             ClearEvent(Event);                         { Clear the event }
+             Exit;             Exit;                                    { Now exit }
            End;
            T := T^.Next;                              { Next item }
          End;