Преглед изворни кода

FIX: re-enable the OK button in RunCmake() when everything is done.

Sebastien Barre пре 23 година
родитељ
комит
091f53f539
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 2 - 1
Source/MFCDialog/CMakeSetupDialog.cpp

@@ -615,6 +615,7 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
   m_BuildPathChanged = false;
   // put the cursor back
   ::SetCursor(LoadCursor(NULL, IDC_ARROW));
+  m_OKButton.EnableWindow(true);
   cmSystemTools::ResetErrorOccuredFlag();
 }
 
@@ -731,7 +732,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
       {
       if(i.GetPropertyAsBool("ADVANCED"))
         {
-	m_CacheEntriesList.RemoveProperty(key);
+        m_CacheEntriesList.RemoveProperty(key);
         continue;
         }
       }