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>
This commit is contained in:
Andre Hartmann
2019-02-09 07:12:06 +01:00
committed by André Hartmann
parent 7388326bca
commit b71a6eec20

View File

@@ -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);