Browse Source

Merge pull request #729 in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit 'e10c323dd6ca4f04e1bc3b223727aeb8b677b2cb':
  REPORT-12555 设计器重命名BUG
bugfix/10.0
Hades 6 years ago
parent
commit
7845d7aeff
  1. 3
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

3
designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

@ -428,8 +428,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
String oldName = fnf.getName();
String suffix = fnf.isDirectory() ? StringUtils.EMPTY : oldName.substring(oldName.lastIndexOf(CoreConstants.DOT), oldName.length());
oldName = oldName.replaceAll(suffix, StringUtils.EMPTY);
oldName = oldName.replace(suffix, StringUtils.EMPTY);
this.setLayout(new BorderLayout());
this.setModal(true);

Loading…
Cancel
Save