mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Remove unnecessary calls to populateTable()
This simplifies the code and speeds up some processes. A little bit at least.
This commit is contained in:
@@ -736,18 +736,13 @@ void MainWindow::createIndex()
|
||||
if(dialog.exec())
|
||||
{
|
||||
populateStructure();
|
||||
resetBrowser();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::compact()
|
||||
{
|
||||
VacuumDialog dialog(&db, this);
|
||||
if(dialog.exec())
|
||||
{
|
||||
populateStructure();
|
||||
resetBrowser();
|
||||
}
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
void MainWindow::deleteObject()
|
||||
|
||||
Reference in New Issue
Block a user