forked from qt-creator/qt-creator
Fix "Rebuild Debugging Helper" not enabled after changing path.
In the Qt Options Dialog.
This commit is contained in:
@@ -443,9 +443,11 @@ void QtOptionsPageWidget::updateCurrentQtPath()
|
|||||||
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap(":/extensionsystem/images/error.png"));
|
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap(":/extensionsystem/images/error.png"));
|
||||||
}
|
}
|
||||||
m_ui->showLogButton->setEnabled(hasLog);
|
m_ui->showLogButton->setEnabled(hasLog);
|
||||||
|
m_ui->rebuildButton->setEnabled(true);
|
||||||
} else {
|
} else {
|
||||||
currentItem->setData(2, Qt::DecorationRole, QIcon());
|
currentItem->setData(2, Qt::DecorationRole, QIcon());
|
||||||
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap());
|
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap());
|
||||||
|
m_ui->rebuildButton->setEnabled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user