Skip to content
Snippets Groups Projects
Commit 4ca8e32f authored by Hieu Pham's avatar Hieu Pham Committed by luyikei
Browse files

WelcomePage: Add QMessageeBox to Project Wizard noticing user when project file not found

parent 945bfd62
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,14 @@ WelcomePage::validatePage()
"the list.\nThen click next to continue..." ) );
return false;
}
else if ( QFile::exists( *m_projectPath ) == false )
{
QMessageBox::warning( this, tr( "Warning" ),
QStringLiteral( "%1\n%2" )
.arg( tr( "Sorry, we couldn't find your file. Was it moved, renamed, or deleted?" ) )
.arg( *m_projectPath ) );
return false;
}
return true;
}
return true;
......
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