summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectwindow.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-07-11 12:05:42 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-07-21 11:30:24 +0200
commit44fee41e622fedd070fe8555800706e63492086e (patch)
treeb097164dd677aafd59ceafd96a9f2d44148c7a64 /src/plugins/projectexplorer/projectwindow.cpp
parent29ca1a5b67eea00e87f32d6ed9f930f4566d5e4b (diff)
downloadqt-creator-44fee41e622fedd070fe8555800706e63492086e.tar.gz
ProjectWindow: Add missing check on requiresTargetPanel
Change-Id: I83de8167ca0075d013efa074a9d8b6438f1873c0 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectwindow.cpp')
-rw-r--r--src/plugins/projectexplorer/projectwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp
index 203dff7d91..e00bc9524e 100644
--- a/src/plugins/projectexplorer/projectwindow.cpp
+++ b/src/plugins/projectexplorer/projectwindow.cpp
@@ -336,7 +336,7 @@ void ProjectWindow::registerProject(ProjectExplorer::Project *project)
bool projectHasTarget = hasTarget(project);
m_hasTarget.insert(project, projectHasTarget);
- if (projectHasTarget) // Use the Targets page
+ if (projectHasTarget || project->requiresTargetPanel()) // Use the Targets page
subtabs << QCoreApplication::translate("TargetSettingsPanelFactory", "Build & Run");
// Add the project specific pages