Skip to content
Snippets Groups Projects
Commit e632cb88 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

In NewDialog "create" button now have setDafault policy for correct process of...

In NewDialog "create" button now have setDafault policy for correct process of push-enter button event.
parent cce0c6fd
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,7 @@ NewProjectDialog::NewProjectDialog(QWidget *parent) ...@@ -61,6 +61,7 @@ NewProjectDialog::NewProjectDialog(QWidget *parent)
m_createButton = new QPushButton(tr("Create")); m_createButton = new QPushButton(tr("Create"));
connect(m_createButton, SIGNAL(clicked()), this, SLOT(createProjectDir())); connect(m_createButton, SIGNAL(clicked()), this, SLOT(createProjectDir()));
m_createButton->setDefault(true);
m_cancelButton = new QPushButton(tr("Cancel")); m_cancelButton = new QPushButton(tr("Cancel"));
connect(m_cancelButton, SIGNAL(clicked()), this, SLOT(reject())); connect(m_cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment