diff options
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 36ca704..b95d780 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -894,7 +894,10 @@ void CMakeSetupDialog::OnOk() m_CacheEntriesList.ClearDirty(); this->RunCMake(true); cmMakefileGenerator::UnRegisterGenerators(); - CDialog::OnOK(); + if (!(::GetKeyState(VK_SHIFT) & 0x1000)) + { + CDialog::OnOK(); + } } void CMakeSetupDialog::OnEditchangeGenerator() |