Skip to content

Commit

Permalink
Update OpenDreamClient/Interface/InterfaceMenu.cs
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
amylizzle and wixoaGit authored Sep 27, 2023
1 parent 15ed923 commit f713ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDreamClient/Interface/InterfaceMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public MenuBar.MenuEntry CreateMenuEntry() {

menuButton.OnPressed += () => {
if(MenuElementDescriptor.CanCheck)
if(MenuElementDescriptor.Group != null)
if(!String.IsNullOrEmpty(MenuElementDescriptor.Group))
_menu.SetGroupChecked(MenuElementDescriptor.Group, MenuElementDescriptor.Id);
else
MenuElementDescriptor.IsChecked = !MenuElementDescriptor.IsChecked;
Expand Down

0 comments on commit f713ff2

Please sign in to comment.