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 <marco.bubke@qt.io>
This commit is contained in:
Tobias Hunger
2018-02-05 13:36:42 +01:00
parent 068f993db2
commit e109b8c1e2

View File

@@ -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()