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),