From b71a6eec20ffca672e6b43f9eea78fd694cc3c7f Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Sat, 9 Feb 2019 07:12:06 +0100 Subject: ExternalToolConfig: Fix choosing executable Somehow the function to select the executable broke and changed to "Choose Directory". Fixes: QTCREATORBUG-21937 Change-Id: Ifc596df276a3e26bb063d5b856fca29f9db227df Reviewed-by: Orgad Shaneh Reviewed-by: Eike Ziller --- src/plugins/coreplugin/dialogs/externaltoolconfig.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp b/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp index 9b17d20003..9be7117729 100644 --- a/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp +++ b/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp @@ -402,6 +402,7 @@ ExternalToolConfig::ExternalToolConfig(QWidget *parent) : m_model(new ExternalToolModel(this)) { ui->setupUi(this); + ui->executable->setExpectedKind(Utils::PathChooser::ExistingCommand); ui->scrollArea->viewport()->setAutoFillBackground(false); ui->scrollAreaWidgetContents->setAutoFillBackground(false); ui->toolTree->setModel(m_model); -- cgit v1.2.1