Skip to content

Commit

Permalink
Fixed the 'Next' button going active when there is a valid SMILES: th…
Browse files Browse the repository at this point in the history
…ere is not next page :(
  • Loading branch information
egonw committed Jun 23, 2010
1 parent 8bfc9e2 commit 5453860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -50,7 +50,7 @@ public String getSMILES() {
}

public boolean canFinish() {
return mainPage.canFlipToNextPage();
return getSMILES() != null;
}

public void addPages() {
Expand Down
Expand Up @@ -76,7 +76,7 @@ private void updatePageComplete(Text field) {
}

public boolean canFlipToNextPage() {
return wizard.getSMILES() != null;
return false; // there is not next window
}
}

0 comments on commit 5453860

Please sign in to comment.