Skip to content

Fix null reference in GetPlatformCtrlOrCmdKeyModifier - #252

Merged
MrJul merged 1 commit into
AvaloniaUI:masterfrom
shatyuka:keymap
Jul 7, 2026
Merged

Fix null reference in GetPlatformCtrlOrCmdKeyModifier#252
MrJul merged 1 commit into
AvaloniaUI:masterfrom
shatyuka:keymap

Conversation

@shatyuka

@shatyuka shatyuka commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Fall back to Application.Current?.PlatformSettings then KeyModifiers.Control instead of using null-forgiving operators.

Fix #99.

@MrJul
MrJul merged commit 4a18773 into AvaloniaUI:master Jul 7, 2026
This was referenced Jul 9, 2026
This was referenced Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.NullReferenceException in Avalonia.Controls.Utils.KeyboardHelper

2 participants