summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-25 20:07:38 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-02-25 20:07:38 (GMT)
commit0a9f041d2f8ecf5514640e451d758a4fa14c8bd5 (patch)
treee1251cdf3e3a03169f9883e9cc7b7cf9a8aaf707 /Source
parent09829174a3d86d9b53b68e030f3a63b05bd2e821 (diff)
downloadCMake-0a9f041d2f8ecf5514640e451d758a4fa14c8bd5.zip
CMake-0a9f041d2f8ecf5514640e451d758a4fa14c8bd5.tar.gz
CMake-0a9f041d2f8ecf5514640e451d758a4fa14c8bd5.tar.bz2
ENH: Adjust when log is cleared. Its kept doing generate,
and cleared when changing the source directory. #6358.
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 724896c..e2a54a8 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -261,7 +261,6 @@ void CMakeSetupDialog::doConfigure()
this->enterState(Configuring);
- this->Output->clear();
this->CacheValues->selectionModel()->clear();
QMetaObject::invokeMethod(this->CMakeThread->cmakeInstance(),
"setProperties", Qt::QueuedConnection,
@@ -437,6 +436,7 @@ void CMakeSetupDialog::setBinaryDirectory(const QString& dir)
void CMakeSetupDialog::onSourceDirectoryChanged(const QString& dir)
{
+ this->Output->clear();
QMetaObject::invokeMethod(this->CMakeThread->cmakeInstance(),
"setSourceDirectory", Qt::QueuedConnection, Q_ARG(QString, dir));
}
@@ -765,7 +765,6 @@ void CMakeSetupDialog::enterState(CMakeSetupDialog::State s)
else if(s == Generating)
{
this->CacheModified = false;
- this->Output->clear();
this->setEnabledState(false);
this->ConfigureButton->setEnabled(false);
this->GenerateAction->setEnabled(false);