Browse Source

往前遍历要到0

release/11.0
kerry 2 years ago
parent
commit
51adfa34e9
  1. 2
      designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

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

@ -792,7 +792,7 @@ public class MultiTemplateTabPane extends JComponent {
//再往前补 //再往前补
if (minPaintIndex > 0){ if (minPaintIndex > 0){
for (int i = minPaintIndex - 1; i > 0; i--) { for (int i = minPaintIndex - 1; i >= 0; i--) {
JTemplate template = openedTemplate.get(i); JTemplate template = openedTemplate.get(i);
if (showJTemplateTab(template)) { if (showJTemplateTab(template)) {
a--; a--;

Loading…
Cancel
Save