From 6d99e3195c9193aae3d47a7150251bb116974453 Mon Sep 17 00:00:00 2001 From: BDisp Date: Wed, 27 May 2020 18:52:34 +0100 Subject: [PATCH] Applying as suggested. --- UICatalog/Scenarios/TopLevelNoWindowBug.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UICatalog/Scenarios/TopLevelNoWindowBug.cs b/UICatalog/Scenarios/TopLevelNoWindowBug.cs index dc7d4798cc..47bd42dc17 100644 --- a/UICatalog/Scenarios/TopLevelNoWindowBug.cs +++ b/UICatalog/Scenarios/TopLevelNoWindowBug.cs @@ -15,7 +15,7 @@ public override void Run () new MenuItem ("_Создать", "Creates new file", null), new MenuItem ("_Открыть", "", null), new MenuItem ("Со_хранить", "", null), - new MenuItem ("_Выход", "", () => Top.Running = false ) + new MenuItem ("_Выход", "", () => Application.RequestStop()) }), new MenuBarItem ("_Edit", new MenuItem [] { new MenuItem ("_Copy", "", null),