aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2018-03-08 10:10:36 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-03-12 16:21:12 +0000
commit84e0573cad70d8517e4445d2eb5e700ae77b874c (patch)
tree91d20bb9191ebc9fba0e30778318f548185dcba8 /src
parentf37982d859cd9916d05a91b82f0a2ed49d48bdde (diff)
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 <tobias.hunger@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/gcctoolchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp
index 0650827f43..13714864ae 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<Abi> abiList;