Skip to content
Permalink
Browse files

ui: allow to cancel if cdb project setup specifies unused pch file

  • Loading branch information
mlangkabel authored and egraether committed Aug 27, 2019
1 parent a856788 commit dc24bae94335b854a8d192df19169e33d9b7947f
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/lib_gui/qt/project_wizard/content/path/QtProjectWizardContentPathCxxPch.cpp
@@ -90,7 +90,13 @@ bool QtProjectWizardContentPathCxxPch::check()
"The provided compilation database file does not use precompiled headers. The specified input file at "
"Precompiled Header File will not be used."
);
QPushButton* cancelButton = msgBox.addButton("Cancel", QMessageBox::ButtonRole::RejectRole);
QPushButton* continueButton = msgBox.addButton("Continue", QMessageBox::ButtonRole::AcceptRole);
msgBox.exec();
if (msgBox.clickedButton() == cancelButton)
{
return false;
}
return true;
}
}

0 comments on commit dc24bae

Please sign in to comment.
You can’t perform that action at this time.