Browse Source

Pull request #7209: REPORT-64207 单击选中来回切换模板 目录树右上角没有显示锁定状态及icon

Merge in DESIGN/design from ~HADES/design:feature/x to feature/x

* commit '3df380266de8907397a3b8549d524ee0fadc3448':
  REPORT-64207 单击选中来回切换 目录树右上角没有显示锁定状态及icon
feature/x
Hades 3 years ago
parent
commit
7e2fdfd99a
  1. 2
      designer-base/src/main/java/com/fr/design/file/TemplateTreePane.java

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

@ -103,7 +103,6 @@ public class TemplateTreePane extends JPanel implements FileOperations {
if (reportletsTree.getPathForLocation(evt.getX(), evt.getY()) != null && evt.getClickCount() == 2) { if (reportletsTree.getPathForLocation(evt.getX(), evt.getY()) != null && evt.getClickCount() == 2) {
openFile(); openFile();
} }
DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(reportletsTree.getSelectedFileNode());
} }
@Override @Override
@ -121,6 +120,7 @@ public class TemplateTreePane extends JPanel implements FileOperations {
if (toolBarStateChangeListener != null) { if (toolBarStateChangeListener != null) {
toolBarStateChangeListener.stateChange(); toolBarStateChangeListener.stateChange();
} }
DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(reportletsTree.getSelectedFileNode());
} }
}; };
// lx: add mouse listener // lx: add mouse listener

Loading…
Cancel
Save