Browse Source

Pull request #16010: REPORT-145518 fix:修复模板树新建文件夹后显示空白

Merge in DESIGN/design from ~RICHARD.FANG/design:fbp/master to fbp/master

* commit '5ebce6029ef7bc7526d5afde7b277907a47346cb':
  REPORT-145518 fix:修复模板树新建文件夹后显示空白
fbp/master
Richard.Fang-方超 4 weeks ago
parent
commit
af175fcc18
  1. 5
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

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

@ -29,6 +29,7 @@ import com.fr.design.file.FileToolbarStateChangeListener;
import com.fr.design.file.HistoryTemplateListCache;
import com.fr.design.file.HistoryTemplateListPane;
import com.fr.design.file.MultiTemplateTabPane;
import com.fr.design.file.NodeAuthProcessor;
import com.fr.design.file.TemplateTreePane;
import com.fr.design.gui.ibutton.UIButton;
import com.fr.design.gui.ilable.UILabel;
@ -755,8 +756,10 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
}
String targetPath = FilenameUtils.standard(parentPath + CoreConstants.SEPARATOR + userInput);
boolean success = selectedOperation.mkdir(targetPath);
selectedOperation.refresh();
NodeAuthProcessor.getInstance().refresh();
DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(null);
this.dispose();
// 定位模板流程中刷新模板树
LocateAction.gotoEditingTemplateLeaf(targetPath);
if (!success) {
FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(),

Loading…
Cancel
Save