forked from qt-creator/qt-creator
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:
@@ -661,6 +661,9 @@ void CustomToolChainConfigWidget::applyImpl()
|
|||||||
tc->setDisplayName(displayName); // reset display name
|
tc->setDisplayName(displayName); // reset display name
|
||||||
tc->setOutputParserId(Core::Id::fromSetting(m_errorParserComboBox->currentData()));
|
tc->setOutputParserId(Core::Id::fromSetting(m_errorParserComboBox->currentData()));
|
||||||
tc->setCustomParserSettings(m_customParserSettings);
|
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()
|
void CustomToolChainConfigWidget::setFromToolchain()
|
||||||
|
Reference in New Issue
Block a user