Skip to content

Conversation

MinecraftYJQ
Copy link

在 游戏目录>添加游戏目录 中选择游戏目录时会自动填写游戏目录的父级目录名,以方便用户新增游戏目录

Copy link
Member

@Glavo Glavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 不要在新代码中使用 File,请使用 NIO API;
  2. 不应该通过比较 parentOldFolder 检测 profile 名称是否被显式设置了。你应该通过创建一个 binding 来跟踪 locationProperty 和 profile 的nameProperty 的变化。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants