Sebastian Stenzel 10 年之前
父節點
當前提交
75c21b4c9b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java

+ 2 - 0
main/ui/src/main/java/org/cryptomator/ui/controllers/UnlockController.java

@@ -164,6 +164,8 @@ public class UnlockController implements Initializable {
 		// newValue is guaranteed to be a-z0-9, see #filterAlphanumericKeyEvents
 		if (newValue.isEmpty()) {
 			mountName.setText(vault.getMountName());
+		} else {
+			vault.setMountName(newValue);
 		}
 	}