From 37711fdd5c352c3f3e25b9b961912d4caeb7274b Mon Sep 17 00:00:00 2001 From: "Srivats P." Date: Thu, 1 Jan 2015 21:00:23 +0530 Subject: [PATCH] Fixed typo that was causing "Clear All Stats" to clear only the first portgroup and not the rest Fixes issue 89 --- client/portstatswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/portstatswindow.cpp b/client/portstatswindow.cpp index 035a23c..49f8141 100644 --- a/client/portstatswindow.cpp +++ b/client/portstatswindow.cpp @@ -148,7 +148,7 @@ void PortStatsWindow::on_tbClearAll_clicked() { for (int i = 0; i < pgl->numPortGroups(); i++) { - pgl->portGroupByIndex(0).clearPortStats(); + pgl->portGroupByIndex(i).clearPortStats(); } }