Browse Source

REPORT-64207 单击选中来回切换 目录树右上角没有显示锁定状态及icon

feature/x
hades 3 years ago
parent
commit
3df380266d
  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