Browse Source

REPORT-23181 && REPORT-23179 windows下保存失效

feature/big-screen
kerry 5 years ago
parent
commit
e6a9b4298e
  1. 4
      designer-base/src/main/java/com/fr/file/FILEChooserPane.java

4
designer-base/src/main/java/com/fr/file/FILEChooserPane.java

@ -480,7 +480,9 @@ public class FILEChooserPane extends BasicPane {
Object ss = postfixComboBox.getSelectedItem();
if (ss instanceof ChooseFileFilter) {
setFILEFilter((ChooseFileFilter) ss);
fileNameTextField.setText(calProperFileName(fileNameTextField.getText(), (ChooseFileFilter) ss));
if (fileNameTextField.isShowing()) {
fileNameTextField.setText(calProperFileName(fileNameTextField.getText(), (ChooseFileFilter) ss));
}
} else {
setFILEFilter(null);
}

Loading…
Cancel
Save