瀏覽代碼

Merge pull request #981 from BDisp/fsharp-quit

Fix ControlQ to quit in FSharp
Charlie Kindel 4 年之前
父節點
當前提交
5f9ce32460
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      FSharpExample/Program.fs

+ 1 - 1
FSharpExample/Program.fs

@@ -425,7 +425,7 @@ let Main () =
         StatusItem(Key.F1, ustr "~F1~ Help", Action Help)
         StatusItem(Key.F2, ustr "~F2~ Load", Action Load)
         StatusItem(Key.F3, ustr "~F3~ Save", Action Save)
-        StatusItem(Key.ControlX, ustr "~^X~ Quit", fun () -> if (Quit()) then top.Running <- false) |])
+        StatusItem(Key.ControlQ, ustr "~^Q~ Quit", fun () -> if (Quit()) then top.Running <- false) |])
     win.Add (drag, dragText)
     let bottom = new Label (ustr "This should go on the bottom of the same top-level!")
     win.Add bottom