From 23f9c594787bda6ffc1e41afc85c806f5914e0d0 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Wed, 27 Jan 2016 21:56:39 +0100 Subject: [PATCH] Reload schema when refreshing the browse data view When hittin the refresh button in the Browse Data tab reload the table schema, too, before reloading the table data. It might have changed from outside the application as well. See issue #496. --- src/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e4aa4fe2..979e84c2 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -663,6 +663,7 @@ void MainWindow::setRecordsetLabel() void MainWindow::browseRefresh() { + db.updateSchema(); populateTable(ui->comboBrowseTable->currentText()); }