1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

[154217] New connection wizard: error message not cleared.

This commit is contained in:
Kushal Munir 2006-12-12 10:59:48 +00:00
parent 7b3681e976
commit 7a9f840fc4

View file

@ -320,7 +320,16 @@ public class RSENewConnectionWizardDefaultDelegateMainPage
{
//if (wizard == null)
//return null;
//return wizard.getNextPage(this);
//return wizard.getNextPage(this);
// verify contents of page before going to main page
// this is done because the main page may have input that is not valid, but can
// only be verified when next is pressed since it requires a long running operation
boolean verify = form.verify(true);
if (!verify) {
return null;
}
RSEDefaultNewConnectionWizardDelegate newConnWizardDelegate = getOurWizardDelegate();
if (newConnWizardDelegate != null)