forked from qt-creator/qt-creator
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:
committed by
André Hartmann
parent
7388326bca
commit
b71a6eec20
@@ -402,6 +402,7 @@ ExternalToolConfig::ExternalToolConfig(QWidget *parent) :
|
|||||||
m_model(new ExternalToolModel(this))
|
m_model(new ExternalToolModel(this))
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
ui->executable->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||||
ui->scrollArea->viewport()->setAutoFillBackground(false);
|
ui->scrollArea->viewport()->setAutoFillBackground(false);
|
||||||
ui->scrollAreaWidgetContents->setAutoFillBackground(false);
|
ui->scrollAreaWidgetContents->setAutoFillBackground(false);
|
||||||
ui->toolTree->setModel(m_model);
|
ui->toolTree->setModel(m_model);
|
||||||
|
Reference in New Issue
Block a user