Browse Source

Pull request #7550: 无jira 打包失败

Merge in DESIGN/design from ~HADES/design:final/10.0 to final/10.0

* commit 'e021ec3c3fd56442d777cb70cd5af9a83ba61921':
  无jira 打包失败
final/10.0
ju|剧浩宇 3 years ago
parent
commit
bf2fd8aede
  1. 6
      designer-base/src/main/java/com/fr/design/gui/ifilechooser/JavaFxNativeFileChooser.java

6
designer-base/src/main/java/com/fr/design/gui/ifilechooser/JavaFxNativeFileChooser.java

@ -226,6 +226,12 @@ public class JavaFxNativeFileChooser implements FileChooserProvider {
return this;
}
public Builder filter(String des, String... extensions) {
if (extensions != null) {
this.filters = new FileChooser.ExtensionFilter[]{new FileChooser.ExtensionFilter(des, extensions)};
}
return this;
}
public Builder currentDirectory(File currentDirectory) {
if (currentDirectory != null) {

Loading…
Cancel
Save