Fixed typo that was causing "Clear All Stats" to clear only the first portgroup and not the rest

Fixes issue 89
This commit is contained in:
Srivats P. 2015-01-01 21:00:23 +05:30
parent 5d7e6fe66c
commit 37711fdd5c

View File

@ -148,7 +148,7 @@ void PortStatsWindow::on_tbClearAll_clicked()
{ {
for (int i = 0; i < pgl->numPortGroups(); i++) for (int i = 0; i < pgl->numPortGroups(); i++)
{ {
pgl->portGroupByIndex(0).clearPortStats(); pgl->portGroupByIndex(i).clearPortStats();
} }
} }