From 27d7e35a212d76276100e344ad913740d9d9c03e Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 18 Jul 2011 02:07:37 +1000 Subject: [PATCH] Forgot to hide on startup when ShowDebug pref is false --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index af522a4a..7e3cdbd1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -70,6 +70,10 @@ MainWindow::MainWindow(QWidget *parent) : if (!pref.Exists("ShowDebug")) pref["ShowDebug"]=false; else ui->actionDebug->setChecked(pref["ShowDebug"].toBool()); + if (!pref["ShowDebug"].toBool()) { + ui->logText->hide(); + } + if (!pref.Exists("NoonDateSplit")) pref["NoonDateSplit"]=false; else ui->action_Noon_Date_Split->setChecked(pref["NoonDateSplit"].toBool());