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:
parent
5d7e6fe66c
commit
37711fdd5c
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user