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();
|
m_CacheEntriesList.ClearDirty();
|
||||||
this->RunCMake(true);
|
this->RunCMake(true);
|
||||||
cmMakefileGenerator::UnRegisterGenerators();
|
cmMakefileGenerator::UnRegisterGenerators();
|
||||||
CDialog::OnOK();
|
if (!(::GetKeyState(VK_SHIFT) & 0x1000))
|
||||||
|
{
|
||||||
|
CDialog::OnOK();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMakeSetupDialog::OnEditchangeGenerator()
|
void CMakeSetupDialog::OnEditchangeGenerator()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user