From 42d2c15239d6068b17113d98b2e103eb34bd1558 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 16 Feb 2018 17:27:05 +0100 Subject: [PATCH] ProjectExplorer: Set CustomRunConfiguration default name It apparently showed up completely empty in the "Run configuration" combobox after "Add". Change-Id: I4fa40c54f9bfe9240070bb6fabeba35b1d885a01 Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/customexecutablerunconfiguration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp index 7bff2cffafd..9436abfca94 100644 --- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp +++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp @@ -88,6 +88,7 @@ CustomExecutableRunConfiguration::CustomExecutableRunConfiguration(Target *targe addExtraAspect(new LocalEnvironmentAspect(this, LocalEnvironmentAspect::BaseEnvironmentModifier())); addExtraAspect(new ArgumentsAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.Arguments")); addExtraAspect(new TerminalAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal")); + setDefaultDisplayName(defaultDisplayName()); } // Note: Qt4Project deletes all empty customexecrunconfigs for which isConfigured() == false.