Skip to content

Commit

Permalink
Fix incorrect check state of menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Łaputa authored and Krzysztof Łaputa committed Dec 3, 2019
1 parent 866b97a commit eac61f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KeeTheme/KeeThemeExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override ToolStripMenuItem GetMenuItem(PluginMenuType t)
{
_menuItem = new ToolStripMenuItem(_theme.Name);
_menuItem.CheckOnClick = true;
_menuItem.Checked = _theme.Enabled;
_menuItem.Checked = _host.CustomConfig.GetBool(KeeThemeOnConfigItem, false);
_menuItem.ShortcutKeys = Keys.Control | Keys.T;
_menuItem.Click += HandleToggleKeeThemeMenuItemClick;
return _menuItem;
Expand Down

0 comments on commit eac61f6

Please sign in to comment.