Skip to content
Snippets Groups Projects
Commit 5689e904 authored by dt's avatar dt
Browse files

New Project Wizard: Recheck existence of directory after browsing

The user might create directories or delete them while in the browsing
interface, thus in the PathChooser trigger a validation after browsing.

Task-Nr: QTCREATORBUG-3105
Reviewed-By: Friedemann Kleint
parent ba811dfb
No related branches found
No related tags found
No related merge requests found
......@@ -270,6 +270,7 @@ void PathChooser::slotBrowse()
}
emit browsingFinished();
m_d->m_lineEdit->triggerChanged();
}
bool PathChooser::isValid() const
......
......@@ -66,6 +66,7 @@ ProjectIntroPage::ProjectIntroPage(QWidget *parent) :
m_d->m_ui.nameLineEdit->setFocus();
connect(m_d->m_ui.pathChooser, SIGNAL(changed(QString)), this, SLOT(slotChanged()));
connect(m_d->m_ui.nameLineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotChanged()));
connect(m_d->m_ui.pathChooser, SIGNAL(validChanged()), this, SLOT(slotChanged()));
connect(m_d->m_ui.pathChooser, SIGNAL(returnPressed()), this, SLOT(slotActivated()));
connect(m_d->m_ui.nameLineEdit, SIGNAL(validReturnPressed()), this, SLOT(slotActivated()));
}
......
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