Browse Source

Fixed horrible syntax.

Honestly: What is this kind of shit? Do you even care the slightest bit?
Thomas Buck 12 years ago
parent
commit
2061a11605
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      CubeControl/Frame.java

+ 6
- 4
CubeControl/Frame.java View File

@@ -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
 			}

Loading…
Cancel
Save