Markus Kreusch 9 éve
szülő
commit
65550ce70f

+ 2 - 3
main/ui/src/main/java/org/cryptomator/ui/controllers/MainController.java

@@ -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();