This commit is contained in:
Markus Kreusch
2016-03-07 17:25:29 +01:00
parent 78300f8bf1
commit 65550ce70f

View File

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