mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-18 21:54:02 -04:00
Fix NRE
This commit is contained in:
@@ -70,7 +70,7 @@ namespace LibationAvalonia.Dialogs
|
||||
public void ReplacementGrid_KeyDown(object sender, Avalonia.Input.KeyEventArgs e)
|
||||
{
|
||||
if (e.Key == Avalonia.Input.Key.Delete
|
||||
&& replacementGrid.SelectedItem is ReplacementsExt repl
|
||||
&& ((DataGrid)sender).SelectedItem is ReplacementsExt repl
|
||||
&& !repl.Mandatory
|
||||
&& !repl.IsDefault)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user