diff --git a/Source/TableComponent.cpp b/Source/TableComponent.cpp index 4ac64c5..978ecb2 100644 --- a/Source/TableComponent.cpp +++ b/Source/TableComponent.cpp @@ -70,6 +70,7 @@ void TableComponent::setRows(const vector>& 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