From e109b8c1e2c010ce321dc07afe4192e3192d2e35 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 5 Feb 2018 13:36:42 +0100 Subject: [PATCH] CustomToolChain: Read data from toolchain after setting it Re-read the data from the toolchain after applying it. This makes it more obvious what e.g. the macro parser did with the input. Change-Id: I5518c55c66be84dcdc3b1fa8482e04279768e3eb Reviewed-by: Marco Bubke --- src/plugins/projectexplorer/customtoolchain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 8b60c3c8521..6866601e827 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -661,6 +661,9 @@ void CustomToolChainConfigWidget::applyImpl() tc->setDisplayName(displayName); // reset display name tc->setOutputParserId(Core::Id::fromSetting(m_errorParserComboBox->currentData())); tc->setCustomParserSettings(m_customParserSettings); + + setFromToolchain(); // Refresh with actual data from the toolchain. This shows what e.g. the + // macro parser did with the input. } void CustomToolChainConfigWidget::setFromToolchain()