diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 1eb389568..c583020ae 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -622,7 +622,6 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles) m_BuildPathChanged = false; // put the cursor back ::SetCursor(LoadCursor(NULL, IDC_ARROW)); - m_OKButton.EnableWindow(true); cmSystemTools::ResetErrorOccuredFlag(); }