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
 					return;
433
 					return;
434
 				}
434
 				}
435
 				String newName = askString("Rename", "Rename " + frameList.getSelectedValue() + "?");
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
 				frameListModel.set(f, worker.getAnimation(a).getFrame(f).getName());
439
 				frameListModel.set(f, worker.getAnimation(a).getFrame(f).getName());
439
 				frameList.setModel(frameListModel);
440
 				frameList.setModel(frameListModel);
440
 			}
441
 			}
486
 					return;
487
 					return;
487
 				}
488
 				}
488
 				String newName = askString("Rename", "Rename " + animList.getSelectedValue() + "?");
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
 				animListModel.set(a, worker.getAnimation(a).getName());
493
 				animListModel.set(a, worker.getAnimation(a).getName());
492
 				animList.setModel(animListModel);
494
 				animList.setModel(animListModel);
493
 			}
495
 			}

Loading…
Cancel
Save