summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2019-02-09 07:12:06 +0100
committerAndré Hartmann <aha_1980@gmx.de>2019-02-11 08:39:11 +0000
commitb71a6eec20ffca672e6b43f9eea78fd694cc3c7f (patch)
tree6e406d27a44ab082f7120c49fca48182bf805a6b
parent7388326bcab9278cb65ca5e003a0f309dd66d18d (diff)
downloadqt-creator-b71a6eec20ffca672e6b43f9eea78fd694cc3c7f.tar.gz
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 <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/coreplugin/dialogs/externaltoolconfig.cpp1
1 files changed, 1 insertions, 0 deletions
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);