Merge pull request #1405 from MidoriKami/NetworkMonitor_Clear

This commit is contained in:
goat 2023-09-19 19:29:35 +02:00 committed by GitHub
commit 8c05eb247c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,11 @@ internal class NetworkMonitorWidget : IDataWindowWidget
this.trackedPackets = Math.Clamp(this.trackedPackets, 1, 512);
}
if (ImGui.Button("Clear Stored Packets"))
{
this.packets.Clear();
}
this.DrawFilterInput();
this.DrawNegativeFilterInput();