Browse Source

Merge pull request #232 in DESIGN/design from ~PLOUGH/10-design:release/10.0 to release/10.0

* commit 'dcbd491207618e230123adb6f58c2b946327a69b':
  REPORT-9757 【阻塞】磁盘文件选择框的路径少了一个字母=>调整代码
  REPORT-9757 【阻塞】磁盘文件选择框的路径少了一个字母
master
plough 6 years ago
parent
commit
13ccace558
  1. 2
      designer-realize/src/main/java/com/fr/design/webattr/WebCssPane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/webattr/WebJsPane.java

2
designer-realize/src/main/java/com/fr/design/webattr/WebCssPane.java

@ -85,7 +85,7 @@ public class WebCssPane extends BasicPane {
if (!"css".equalsIgnoreCase(fileType)) { if (!"css".equalsIgnoreCase(fileType)) {
return; return;
} }
localText.setText(file.getPath().substring(1)); localText.setText(file.getPath());
centerPane.setAddEnabled(true); centerPane.setAddEnabled(true);
} }

2
designer-realize/src/main/java/com/fr/design/webattr/WebJsPane.java

@ -173,7 +173,7 @@ public class WebJsPane extends BasicPane {
if (!"js".equalsIgnoreCase(fileType)) { if (!"js".equalsIgnoreCase(fileType)) {
return; return;
} }
localText.setText(file.getPath().substring(1)); localText.setText(file.getPath());
editingPane.setAddEnabled(true); editingPane.setAddEnabled(true);
} }

Loading…
Cancel
Save