repaint table when changing banks

This commit is contained in:
Alex Birch 2018-06-17 18:08:17 +01:00
parent f220cbb6e2
commit 95f0f2b35b
No known key found for this signature in database
GPG Key ID: 305EB1F98D44ACBA

View File

@ -70,6 +70,7 @@ void TableComponent::setRows(const vector<vector<string>>& rows, int initiallySe
table.updateContent();
table.getHeader().setSortColumnId(0, true);
table.selectRow(initiallySelectedRow);
table.repaint();
}
// This is overloaded from TableListBoxModel, and must return the total number of rows in our table