forked from qt-creator/qt-creator
Handle non-qmake projects without kits
Make it possible to add kits again after all kits were removed from a non qmake project. Task-number: QTCREATORBUG-7814 Change-Id: I38967cd4c106b95288b7020fe325d8cfe2688a7c Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -384,7 +384,7 @@ void ProjectWindow::showProperties(int index, int subIndex)
|
||||
m_previousTargetSubIndex = previousPanelWidget->currentSubIndex();
|
||||
}
|
||||
|
||||
if (m_hasTarget.value(project)) {
|
||||
if (m_hasTarget.value(project) || !project->supportsNoTargetPanel()) {
|
||||
if (subIndex == 0) {
|
||||
// Targets page
|
||||
removeCurrentWidget();
|
||||
|
||||
Reference in New Issue
Block a user