Skip to content

Commit

Permalink
Fix NullReferenceException in EditSelectionChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Nov 22, 2017
1 parent f37999c commit 8bbfc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KaxamlPlugins/KaxamlInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static IKaxamlInfoTextEditor Editor

static void _Editor_TextSelectionChanged(object sender, RoutedEventArgs e)
{
EditSelectionChanged(_Editor.SelectedText);
EditSelectionChanged?.Invoke(_Editor.SelectedText);
}

private static Window _MainWindow;
Expand Down

0 comments on commit 8bbfc01

Please sign in to comment.