Browse Source

REPORT-3163 合作开发9.0设计器=>验收=>切换sheet时应立即刷新右侧面板

master
plough 7 years ago
parent
commit
75e6261362
  1. 6
      designer/src/com/fr/design/mainframe/SheetNameTabPane.java

6
designer/src/com/fr/design/mainframe/SheetNameTabPane.java

@ -554,10 +554,12 @@ public class SheetNameTabPane extends JComponent implements MouseListener, Mouse
for (int i = scrollIndex; i <= lastOneIndex; i++) {
int textWidth = widthArray[i];
if (evtX >= textX && evtX < textX + textWidth) {
if (getSelectedIndex() != i) {
boolean needRefreshPropertiesPane = getSelectedIndex() != i;
setSelectedIndex(i);
if (needRefreshPropertiesPane) {
HistoryTemplateListPane.getInstance().getCurrentEditingTemplate().refreshEastPropertiesPane();
}
setSelectedIndex(i);
isBlank = false;
reportComposite.setComposite();
if (isAuthorityEditing) {

Loading…
Cancel
Save