Quellcode durchsuchen

MountOptions window: Reset to auto mount, if no dir selected

Armin Schrenk vor 2 Jahren
Ursprung
Commit
94c53989b1

+ 2 - 1
src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java

@@ -170,7 +170,8 @@ public class MountOptionsController implements FxController {
 		} catch (NoDirSelectedException e) {
 			if (!mountPointDirBtn.equals(oldToggle)) {
 				mountPointToggleGroup.selectToggle(oldToggle);
-
+			} else {
+				mountPointToggleGroup.selectToggle(mountPointAutoBtn);
 			}
 		}
 	}