Fixed code style

- replaced hacky code
This commit is contained in:
Iulian Onofrei
2016-08-01 11:56:50 +03:00
parent 96d7a31217
commit f2a4ee3057

View File

@@ -546,7 +546,11 @@ bool MainWindow::fileClose()
updatePlot(0);
activateFields(false);
ui->buttonLogClear->click();
// Clear the SQL Log
ui->editLogApplication->clear();
ui->editLogUser->clear();
for(int i=ui->tabSqlAreas->count()-1;i>=0;i--)
closeSqlTab(i, true);