Reload the DB structure even when changing to the browse tab asthe
structure might have been changed when coming from the SQL tab.
This commit is contained in:
Martin Kleusberg
2013-01-05 15:16:32 +01:00
parent e7d213c546
commit 2201ff3234

View File

@@ -805,11 +805,14 @@ void MainWindow::executeQuery()
void MainWindow::mainTabSelected(int tabindex)
{
if(tabindex == 0)
{
populateStructure();
} else if(tabindex == 1) {
populateStructure();
else if(tabindex == 1)
resetBrowser();
else if(tabindex == 2)
} else if(tabindex == 2) {
loadPragmas();
}
}
void MainWindow::importTableFromCSV()