Browse Source

Fix #3700: "open in new tab" flag was not passed along correctly.

pull/3701/head
Siegfried Pammer 7 days ago
parent
commit
6feadc6cab
  1. 2
      ILSpy/Search/SearchPane.xaml.cs
  2. 2
      ILSpy/TextView/DecompilerTextView.cs

2
ILSpy/Search/SearchPane.xaml.cs

@ -307,7 +307,7 @@ namespace ICSharpCode.ILSpy.Search @@ -307,7 +307,7 @@ namespace ICSharpCode.ILSpy.Search
{
if (listBox.SelectedItem is SearchResult result)
{
MessageBus.Send(this, new NavigateToReferenceEventArgs(result.Reference, inNewTabPage));
MessageBus.Send(this, new NavigateToReferenceEventArgs(result.Reference, inNewTabPage: inNewTabPage));
}
}

2
ILSpy/TextView/DecompilerTextView.cs

@ -1017,7 +1017,7 @@ namespace ICSharpCode.ILSpy.TextView @@ -1017,7 +1017,7 @@ namespace ICSharpCode.ILSpy.TextView
return;
}
}
MessageBus.Send(this, new NavigateToReferenceEventArgs(reference, openInNewTab));
MessageBus.Send(this, new NavigateToReferenceEventArgs(reference, inNewTabPage: openInNewTab));
}
private void SetLocalReferenceMarks(object reference)

Loading…
Cancel
Save