From 6b5461c3b2846f14967e2b9e92a2bae8ee3623da Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sun, 15 Dec 2019 04:22:46 -0500 Subject: [PATCH] update the checked status of ViewStatusBar command (not implemented in UWT... yet) --- CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs index 1b1055b9..0ac35e7e 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs @@ -485,6 +485,7 @@ namespace UniversalEditor.UserInterface Application.AttachCommandEventHandler("ViewStatusBar", delegate (object sender, EventArgs e) { HostApplication.CurrentWindow.StatusBar.Visible = !HostApplication.CurrentWindow.StatusBar.Visible; + Application.Commands["ViewStatusBar"].Checked = HostApplication.CurrentWindow.StatusBar.Visible; }); #endregion