Commit 4f2580db authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qt Wizards: Get through the wizards by just pressing enter

The target setup page has all its buttons set to autodefault. Disable that
to make pressing enter work to get passed the page (if at least one Qt version
is checked).

Task-number: QTCREATORBUG-2730
parent dd62bcc8
......@@ -85,6 +85,13 @@ TargetSetupPage::TargetSetupPage(QWidget *parent) :
this, SLOT(contextMenuRequested(QPoint)));
void TargetSetupPage::initializePage()
// WORKAROUND: Somebody sets all buttons to autoDefault between the ctor and here!
......@@ -96,6 +96,8 @@ public:
explicit TargetSetupPage(QWidget* parent = 0);
void initializePage();
void setImportInfos(const QList<ImportInfo> &infos);
QList<ImportInfo> importInfos() const;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment