update the checked status of ViewStatusBar command (not implemented in UWT... yet)

This commit is contained in:
Michael Becker 2019-12-15 04:22:46 -05:00
parent bd5d5912ab
commit 6b5461c3b2
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -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