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