Selaa lähdekoodia

Revert "fixes #165"

This reverts commit 65550ce70f1d0f51c1f18c4fccfb925ce4e3fa5e.
Sebastian Stenzel 9 vuotta sitten
vanhempi
commit
8865cf0e4b

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

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