|
@@ -433,8 +433,9 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
|
433
|
433
|
return;
|
434
|
434
|
}
|
435
|
435
|
String newName = askString("Rename", "Rename " + frameList.getSelectedValue() + "?");
|
436
|
|
- if (!newName.equals("")){
|
437
|
|
- worker.getAnimation(a).getFrame(f).setName(newName);}
|
|
436
|
+ if (!newName.equals("")) {
|
|
437
|
+ worker.getAnimation(a).getFrame(f).setName(newName);
|
|
438
|
+ }
|
438
|
439
|
frameListModel.set(f, worker.getAnimation(a).getFrame(f).getName());
|
439
|
440
|
frameList.setModel(frameListModel);
|
440
|
441
|
}
|
|
@@ -486,8 +487,9 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
|
486
|
487
|
return;
|
487
|
488
|
}
|
488
|
489
|
String newName = askString("Rename", "Rename " + animList.getSelectedValue() + "?");
|
489
|
|
- if (!newName.equals("")){
|
490
|
|
- worker.getAnimation(a).setName(newName);}
|
|
490
|
+ if (!newName.equals("")) {
|
|
491
|
+ worker.getAnimation(a).setName(newName);
|
|
492
|
+ }
|
491
|
493
|
animListModel.set(a, worker.getAnimation(a).getName());
|
492
|
494
|
animList.setModel(animListModel);
|
493
|
495
|
}
|