summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-08-01 20:23:07 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-08-01 20:23:07 (GMT)
commiteebc39d1996337658d6ad3e78aaeb3b2f5bafc32 (patch)
tree81cdc7a56280c69ffbc70995728ea702763d6930 /Source/MFCDialog
parentbe3a15d45f5ad8d93dbccb9f8980044737faa9da (diff)
downloadCMake-eebc39d1996337658d6ad3e78aaeb3b2f5bafc32.zip
CMake-eebc39d1996337658d6ad3e78aaeb3b2f5bafc32.tar.gz
CMake-eebc39d1996337658d6ad3e78aaeb3b2f5bafc32.tar.bz2
FIX: stupid pb fixed (close to being medieval'ed by The Ken)
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 40d7016..81f92bc 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -633,6 +633,8 @@ void CMakeSetupDialog::OnChangeWhereSource()
// callback for changing the build directory
void CMakeSetupDialog::OnChangeWhereBuild()
{
+ this->UpdateData();
+
// The build dir has changed, check if there is a cache, and
// grab the source dir from it
@@ -654,7 +656,6 @@ void CMakeSetupDialog::OnChangeWhereBuild()
this->OnChangeWhereSource();
}
- this->UpdateData();
m_CacheEntriesList.RemoveAll();
m_CacheEntriesList.ShowWindow(SW_SHOW);
this->LoadCacheFromDiskToGUI();