Fix some more bugs. Nullable is very treacherous.

This commit is contained in:
BDisp
2024-08-31 23:43:30 +01:00
committed by Tig
parent 552f9ed0a8
commit 1e9f2f4778
4 changed files with 40 additions and 18 deletions

View File

@@ -2938,7 +2938,7 @@ Edit
Assert.Contains (Key.A.WithCtrl, menuBar.KeyBindings.Bindings);
menuBar.Menus [0].Children [0].ShortcutKey = Key.B.WithCtrl;
menuBar.Menus [0].Children! [0].ShortcutKey = Key.B.WithCtrl;
Assert.DoesNotContain (Key.A.WithCtrl, menuBar.KeyBindings.Bindings);
Assert.Contains (Key.B.WithCtrl, menuBar.KeyBindings.Bindings);