소스 검색

Revert "fixes #165"

This reverts commit 65550ce70f1d0f51c1f18c4fccfb925ce4e3fa5e.
Sebastian Stenzel 9 년 전
부모
커밋
8865cf0e4b
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      main/ui/src/main/java/org/cryptomator/ui/controllers/MainController.java

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