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.

Reviewed-By: Friedemann Kleint
parent ba811dfb
......@@ -270,6 +270,7 @@ void PathChooser::slotBrowse()
emit browsingFinished();
bool PathChooser::isValid() const
......@@ -66,6 +66,7 @@ ProjectIntroPage::ProjectIntroPage(QWidget *parent) :
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()));
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