Skip to content

Commit

Permalink
Fixed cancelling of home directory selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
scarytom committed Jul 25, 2010
1 parent ffc21d7 commit 95a47dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public class ApplicationLaunchTest extends DocnapEndToEndTest {

theUserTriesTo().cancelHomeFolderSelection();

//TODO: This doesn't work... there is an exception on the stack!
//TODO: Maybe a threading issue on the logger. Can be fixed with a probe.
docnap().hasClosed();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,7 @@ private boolean restoreHomePath() {
}
}

/* if (0 == getPreviousHomePath().length()) {
return false;
}*/

return true;
return (0 != getPreviousHomePath().length());
}

/**
Expand Down

0 comments on commit 95a47dc

Please sign in to comment.