Commit 091f53f5 authored by Sebastien Barre's avatar Sebastien Barre
Browse files

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

parent f68f7c25
...@@ -615,6 +615,7 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles) ...@@ -615,6 +615,7 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
m_BuildPathChanged = false; m_BuildPathChanged = false;
// put the cursor back // put the cursor back
::SetCursor(LoadCursor(NULL, IDC_ARROW)); ::SetCursor(LoadCursor(NULL, IDC_ARROW));
m_OKButton.EnableWindow(true);
cmSystemTools::ResetErrorOccuredFlag(); cmSystemTools::ResetErrorOccuredFlag();
} }
...@@ -731,7 +732,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager() ...@@ -731,7 +732,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
{ {
if(i.GetPropertyAsBool("ADVANCED")) if(i.GetPropertyAsBool("ADVANCED"))
{ {
m_CacheEntriesList.RemoveProperty(key); m_CacheEntriesList.RemoveProperty(key);
continue; continue;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment