Fix ClearAllStats with View Reserved Ports Only
This commit is contained in:
parent
5e565167f2
commit
98378b52e6
@ -289,6 +289,11 @@ void PortStatsWindow::on_tbClearAll_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
if (proxyStatsModel) {
|
||||
for(QModelIndex &index : shownColumns)
|
||||
index = proxyStatsModel->mapToSource(index);
|
||||
}
|
||||
|
||||
// Get ports corresponding to the shown columns
|
||||
model->portListFromIndex(shownColumns, portList);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user