소스 검색

FIX: stupid pb fixed (close to being medieval'ed by The Ken)

Sebastien Barre 23 년 전
부모
커밋
eebc39d199
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 2 - 1
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();