forked from qt-creator/qt-creator
Simplify logic for showing UnconfiguredTargetPanel/TargetPanel
This doesn't change when the those panes are shown. Change-Id: Ie5a2d27321e5268f59775892198999a8414a0adb Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tim Jenssen
parent
90279e6d2b
commit
1c38aa287a
@@ -1363,7 +1363,7 @@ void QmakeProject::configureAsExampleProject(const QStringList &platforms)
|
||||
|
||||
bool QmakeProject::requiresTargetPanel() const
|
||||
{
|
||||
return false;
|
||||
return !targets().isEmpty();
|
||||
}
|
||||
|
||||
// All the Qmake run configurations should share code.
|
||||
|
||||
Reference in New Issue
Block a user