mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Do not reload not needed information when changing the current tab
Do not query the table selected in the browse data tab when changing to the database structure tab and vice versa.
This commit is contained in:
@@ -953,11 +953,10 @@ void MainWindow::executeQuery()
|
||||
|
||||
void MainWindow::mainTabSelected(int tabindex)
|
||||
{
|
||||
if ((tabindex == 0)||(tabindex == 1))
|
||||
{
|
||||
if(tabindex == 0)
|
||||
populateStructure();
|
||||
else if(tabindex == 1)
|
||||
resetBrowser();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::importTableFromCSV()
|
||||
|
||||
Reference in New Issue
Block a user