Skip to content

Commit

Permalink
Fixes #2249 Add UI Command execution to MenuBarCheckButton (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwmcintosh authored May 23, 2024
1 parent 74abdd4 commit da41120
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OSPSuite.Presentation/MenuAndBars/MenuBarCheckButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public bool Checked
public override void Click()
{
Checked = !Checked;
if (Command is NotImplementedCommand)
return;

base.Click();
}
}
}

0 comments on commit da41120

Please sign in to comment.