QbsProjectManager: Ensure run config display name after restoring

Amends 1d7f6fe298.

Change-Id: Ie2b37eb5c83d662e51fa9fc68f878c3d42765985
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-08-02 16:19:11 +02:00
parent 16b9a47e83
commit f244ee7433

View File

@@ -137,6 +137,7 @@ Utils::FilePath QbsRunConfiguration::executableToRun(const BuildTargetInfo &targ
void QbsRunConfiguration::updateTargetInformation()
{
BuildTargetInfo bti = buildTargetInfo();
setDefaultDisplayName(bti.displayName);
const FilePath executable = executableToRun(bti);
auto terminalAspect = aspect<TerminalAspect>();
terminalAspect->setUseTerminalHint(bti.usesTerminal);