forked from qt-creator/qt-creator
ProjectExplorer: Introduce and use a new MultiSelectionAspect
Only provide the minimum functionality to make it usable for the target selection in Make steps. Task-number: QTCREATORBUG-25088 Change-Id: I6458a0bd544d2fff596df3240c69e05d7bdea14b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -49,10 +49,10 @@ MakeStep::MakeStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id)
|
||||
{
|
||||
setAvailableBuildTargets({"all", "clean"});
|
||||
if (bsl->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
|
||||
setBuildTarget("clean", true);
|
||||
setSelectedBuildTarget("clean");
|
||||
setIgnoreReturnValue(true);
|
||||
} else {
|
||||
setBuildTarget("all", true);
|
||||
setSelectedBuildTarget("all");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user