Commit 86f0f930 authored by Yuchen Deng's avatar Yuchen Deng Committed by Daniel Teske
Browse files

Fix for review #7748

See http://codereview.qt-project.org/#change,7748

 for detail

Change-Id: I7377e14a8e2d4b5c3e655e02e80ec69a69a55d7a
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 04013284
......@@ -1571,8 +1571,8 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
updateActions();
bool ignoreErrors = false;
if (d->m_delayedRunConfiguration && success && d->m_buildManager->getErrorTaskCount() > 0) {
bool ignoreErrors = true;
if (d->m_delayedRunConfiguration && success && d->m_buildManager->getErrorTaskCount() > 0) {
ignoreErrors = QMessageBox::question(Core::ICore::instance()->mainWindow(),
tr("Ignore all errors?"),
tr("Found some build errors in current task.\n"
......@@ -1581,7 +1581,7 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success)
QMessageBox::No) == QMessageBox::Yes;
}
if ((success || ignoreErrors) && d->m_delayedRunConfiguration) {
if (success && ignoreErrors && d->m_delayedRunConfiguration) {
executeRunConfiguration(d->m_delayedRunConfiguration, d->m_runMode);
} else {
if (d->m_buildManager->tasksAvailable())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment