forked from qt-creator/qt-creator
New File/Project Dialog: Don't use &c twice
I'm not sure how the cancel button gets that accelerator, but the default button should not have a accelarator anyway. Task-number: QTCREATORBUG-10608 Change-Id: I18899bfa039a82f0cbb2cf6ae0ed21a9f0e619d8 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -194,7 +194,7 @@ NewDialog::NewDialog(QWidget *parent) :
|
||||
m_ui->frame->setPalette(p);
|
||||
m_okButton = m_ui->buttonBox->button(QDialogButtonBox::Ok);
|
||||
m_okButton->setDefault(true);
|
||||
m_okButton->setText(tr("&Choose..."));
|
||||
m_okButton->setText(tr("Choose..."));
|
||||
|
||||
m_model = new QStandardItemModel(this);
|
||||
m_twoLevelProxyModel = new TwoLevelProxyModel(this);
|
||||
|
||||
Reference in New Issue
Block a user