repaint table when changing banks
This commit is contained in:
parent
f220cbb6e2
commit
95f0f2b35b
|
@ -70,6 +70,7 @@ void TableComponent::setRows(const vector<vector<string>>& rows, int initiallySe
|
||||||
table.updateContent();
|
table.updateContent();
|
||||||
table.getHeader().setSortColumnId(0, true);
|
table.getHeader().setSortColumnId(0, true);
|
||||||
table.selectRow(initiallySelectedRow);
|
table.selectRow(initiallySelectedRow);
|
||||||
|
table.repaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is overloaded from TableListBoxModel, and must return the total number of rows in our table
|
// This is overloaded from TableListBoxModel, and must return the total number of rows in our table
|
||||||
|
|
Loading…
Reference in New Issue
Block a user