Skip to content

Commit

Permalink
fix: GridLogViewer empty when messages are appended before the elemen…
Browse files Browse the repository at this point in the history
…t is on screen (#2525)
  • Loading branch information
Eideren authored Jan 21, 2025
1 parent 4ce9511 commit 5359f32
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ public override void OnApplyTemplate()
throw new InvalidOperationException("A part named 'PART_LogGridView' must be present in the ControlTemplate, and must be of type 'DataGridControl'.");

logGridView.MouseDoubleClick += GridMouseDoubleClick;

// We may have a bunch of messages appended before the logGridView was ready, let's present them now that it is
ApplyFilters();
}

private void GridMouseDoubleClick(object sender, MouseButtonEventArgs e)
Expand Down

0 comments on commit 5359f32

Please sign in to comment.