Skip to content

Commit

Permalink
cleaned disgusting link chain
Browse files Browse the repository at this point in the history
  • Loading branch information
ircluzar committed Aug 21, 2024
1 parent cd1d795 commit 2dbb4ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Frontend/UI/Forms/BlastEditorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,11 @@ private void OnFilterTextChanged(object sender, EventArgs e)
{
//If it's an address or a source address we want decimal
case "Address":
_bs.DataSource = currentSK.BlastLayer.Layer.Where(x => x.Address.ToString("X").ToUpper().Substring(0, tbFilter.Text.Length.Clamp(0, x.Address.ToString("X").Length)) == tbFilter.Text.ToUpper()).ToList();
_bs.DataSource = currentSK.BlastLayer.Layer
.Where(x => x.Address.ToString("X")
.ToUpper()
.Substring(0, tbFilter.Text.Length.Clamp(0, x.Address.ToString("X").Length)) == tbFilter.Text.ToUpper())
.ToList();
break;
case "SourceAddress":
_bs.DataSource = currentSK.BlastLayer.Layer.Where(x => x.SourceAddress.ToString("X").ToUpper().Substring(0, tbFilter.Text.Length.Clamp(0, x.SourceAddress.ToString("X").Length)) == tbFilter.Text.ToUpper()).ToList();
Expand Down

0 comments on commit 2dbb4ce

Please sign in to comment.