From 84e0573cad70d8517e4445d2eb5e700ae77b874c Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 8 Mar 2018 10:10:36 +0100 Subject: [PATCH] ProjectExplorer: fix gcc toolchain abi detection This updates the selected abi in the toolchain widget when editing the binary path to the compiler. Task-number: QTCREATORBUG-19673 Change-Id: I8df69af207360364fb6f75e94a3aa26f84fd13d9 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/gcctoolchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index 0650827f43c..13714864ae6 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -1185,7 +1185,7 @@ void GccToolChainConfigWidget::handleCompilerCommandChange() { bool haveCompiler = false; Abi currentAbi = m_abiWidget->currentAbi(); - bool customAbi = m_abiWidget->isCustomAbi(); + bool customAbi = m_abiWidget->isCustomAbi() && m_abiWidget->isEnabled(); FileName path = m_compilerCommand->fileName(); QList abiList;