ProjectExplorer: Add shortcut to "Configure Project"

Note that this does not work with 'Return' immediately, as the focus
is usually on the left tree view in that situation. <Tab>, <Return>
work.

We can try to switch the focus by default in a separate patch if
that is wanted.

Task-number: QTCREATORBUG-20720
Change-Id: Iffbf7f2c1493947b847fd9c89e86b4de56a65543
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-11-05 10:27:06 +01:00
parent aadc28a924
commit 08f3696f21

View File

@@ -136,7 +136,7 @@ TargetSetupPageWrapper::TargetSetupPageWrapper(Project *project)
auto box = new QDialogButtonBox(this);
m_configureButton = new QPushButton(this);
m_configureButton->setText(tr("Configure Project"));
m_configureButton->setText(tr("&Configure Project"));
box->addButton(m_configureButton, QDialogButtonBox::AcceptRole);
auto hbox = new QHBoxLayout;