mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Fix some more bugs. Nullable is very treacherous.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user