From eebc39d1996337658d6ad3e78aaeb3b2f5bafc32 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 1 Aug 2002 16:23:07 -0400 Subject: [PATCH] FIX: stupid pb fixed (close to being medieval'ed by The Ken) --- Source/MFCDialog/CMakeSetupDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 40d7016fb..81f92bc26 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();