From aace4c44fa71d7a66bcdbf79cea82a1b0c24cd32 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 24 May 2023 09:16:59 +0200 Subject: [PATCH] ProjectExplorer: Placeholder for custom executable Previously when creating a custom executable run config, the path chooser would display a red "". This improves the message to tell the user whats needed. Change-Id: Ib521cde1a4f5b836cb865428f65f956a63bce3b4 Reviewed-by: Leena Miettinen Reviewed-by: Marcus Tillmanns Reviewed-by: hjk --- src/plugins/projectexplorer/runconfigurationaspects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/runconfigurationaspects.cpp b/src/plugins/projectexplorer/runconfigurationaspects.cpp index 8098606afb0..ce28582d558 100644 --- a/src/plugins/projectexplorer/runconfigurationaspects.cpp +++ b/src/plugins/projectexplorer/runconfigurationaspects.cpp @@ -502,7 +502,7 @@ ExecutableAspect::ExecutableAspect(Target *target, ExecutionDeviceSelector selec setId("ExecutableAspect"); addDataExtractor(this, &ExecutableAspect::executable, &Data::executable); - m_executable.setPlaceHolderText(Tr::tr("")); + m_executable.setPlaceHolderText(Tr::tr("path to the executable cannot be empty")); m_executable.setLabelText(Tr::tr("Executable:")); m_executable.setDisplayStyle(StringAspect::LabelDisplay);