Theming for RPF Explorer bug fix for View menu

This commit is contained in:
dexyfex 2018-03-04 03:17:12 +11:00
parent 2e75c875bd
commit 5c991cd06a

View File

@ -2758,9 +2758,13 @@ namespace CodeWalker
MainListView.View = v; MainListView.View = v;
foreach (ToolStripMenuItem menu in ViewMenu.DropDownItems) foreach (var item in ViewMenu.DropDownItems)
{ {
menu.Checked = false; var menu = item as ToolStripMenuItem;
if (menu != null)
{
menu.Checked = false;
}
} }
switch (v) switch (v)