If Shift is pressed with 'OK', then don't quit
This commit is contained in:
parent
10ec312448
commit
cec99b76a6
|
@ -894,7 +894,10 @@ void CMakeSetupDialog::OnOk()
|
|||
m_CacheEntriesList.ClearDirty();
|
||||
this->RunCMake(true);
|
||||
cmMakefileGenerator::UnRegisterGenerators();
|
||||
if (!(::GetKeyState(VK_SHIFT) & 0x1000))
|
||||
{
|
||||
CDialog::OnOK();
|
||||
}
|
||||
}
|
||||
|
||||
void CMakeSetupDialog::OnEditchangeGenerator()
|
||||
|
|
Loading…
Reference in New Issue