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.
This commit is contained in:
Martin Kleusberg
2016-01-27 21:56:39 +01:00
parent 3ff20044e0
commit 23f9c59478

View File

@@ -663,6 +663,7 @@ void MainWindow::setRecordsetLabel()
void MainWindow::browseRefresh()
{
db.updateSchema();
populateTable(ui->comboBrowseTable->currentText());
}