From 95f0f2b35bab07f08eadad52eef30ee3736004d0 Mon Sep 17 00:00:00 2001 From: Alex Birch Date: Sun, 17 Jun 2018 18:08:17 +0100 Subject: [PATCH] repaint table when changing banks --- Source/TableComponent.cpp | 1 + 1 file changed, 1 insertion(+) 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