ProjectExplorer: Allow opening terminal in run config

... in the environment aspect widget.

Change-Id: Ia9c92c1480b3e11bd227b29222e2aa1f97d24437
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-12-15 12:36:02 +01:00
parent 8b49b091f7
commit 4ea60589bb

View File

@@ -272,7 +272,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, Type type, QWidget *additi
d->m_terminalButton = new QPushButton(this);
d->m_terminalButton->setText(tr("Open &Terminal"));
d->m_terminalButton->setToolTip(tr("Open a terminal with this environment set up."));
d->m_terminalButton->setEnabled(type == TypeLocal);
d->m_terminalButton->setEnabled(true);
buttonLayout->addWidget(d->m_terminalButton);
buttonLayout->addStretch();