Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/PerfView/StackViewer/StackWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,13 @@ private void DoHyperlinkHelp(object sender, ExecutedRoutedEventArgs e)
private void ByName_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
e.Handled = true;
DoViewInCallers(sender, null);

// Check if a single node is selected before proceeding
// This mirrors the CanExecute check for ViewInCallersCommand
if (GetSelectedNodes().Count == 1)
{
DoViewInCallers(sender, null);
}
}
internal void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: formatting, should be new line between methods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed formatting by adding blank line between methods in commit 6d2c944.

{
Expand Down