Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
change point to default, because a point cannot be null
  • Loading branch information
Hirogen committed Feb 23, 2025
commit 911eb8554b1e3547655995d8489057ea18f895ca
4 changes: 2 additions & 2 deletions src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ public void ToggleBookmark()
if (filterGridView.Focused)
{
gridView = filterGridView;
if (gridView.CurrentCellAddress == null || gridView.CurrentCellAddress.Y == -1)
if (gridView.CurrentCellAddress == default || gridView.CurrentCellAddress.Y == -1)
{
return;
}
Expand All @@ -883,7 +883,7 @@ public void ToggleBookmark()
else
{
gridView = dataGridView;
if (gridView.CurrentCellAddress == null || gridView.CurrentCellAddress.Y == -1)
if (gridView.CurrentCellAddress == default || gridView.CurrentCellAddress.Y == -1)
{
return;
}
Expand Down