Revert "fixes #165"

This reverts commit 65550ce70f.
This commit is contained in:
Sebastian Stenzel
2016-03-07 17:30:15 +01:00
parent 65550ce70f
commit 8865cf0e4b

View File

@@ -260,8 +260,9 @@ public class MainController extends AbstractFXMLViewController {
private void selectedVaultDidChange(Vault newValue) {
if (newValue == null) {
activeController.set(welcomeController.get());
} else if (newValue.isUnlocked()) {
return;
}
if (newValue.isUnlocked()) {
this.showUnlockedView(newValue);
} else if (newValue.isValidVaultDirectory()) {
this.showUnlockView();