From f2a4ee3057330b099ade0de6145a19b6d3e314c1 Mon Sep 17 00:00:00 2001 From: Iulian Onofrei Date: Mon, 1 Aug 2016 11:56:50 +0300 Subject: [PATCH] Fixed code style - replaced hacky code --- src/MainWindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index c6565d3a..259a1848 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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);