Browse Source

Merge remote-tracking branch 'origin/release/10.0' into release/10.0

master
richie 7 years ago
parent
commit
67c1fbb4d3
  1. 2
      designer-base/src/main/java/com/fr/file/FILEChooserPane.java

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

@ -674,7 +674,7 @@ public class FILEChooserPane extends BasicPane {
private void saveDialog() {
String filename = fileNameTextField.getText();
if (!filename.endsWith(suffix) && !filename.contains(CoreConstants.DOT)) {
if (!filename.endsWith(suffix)) {
ChooseFileFilter chooseFileFilter = (ChooseFileFilter) (postfixComboBox.getSelectedItem());
if (chooseFileFilter != null && StringUtils.isNotEmpty(chooseFileFilter.getExtensionString())) {
fileNameTextField.setText(filename + chooseFileFilter.getExtensionString());

Loading…
Cancel
Save