Browse Source

往前遍历要到0

newui
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){
for (int i = minPaintIndex - 1; i > 0; i--) {
for (int i = minPaintIndex - 1; i >= 0; i--) {
JTemplate template = openedTemplate.get(i);
if (showJTemplateTab(template)) {
a--;

Loading…
Cancel
Save