]> ruin.nu Git - moosique.git/blobdiff - MooMenu.java
no message
[moosique.git] / MooMenu.java
index a61c4038f899a13039fe12470b69af8a289762c5..f8c67d7602a22b703201e8ec2b1305caf1925aa7 100644 (file)
@@ -203,9 +203,7 @@ public class MooMenu extends JMenuBar implements ActionListener {
                        MooDialog newDialog = new MooDialog(MooDialog.ADD_TRACK);
                        Moosique.getSequence().createTrack();
                } else if (command == "Delete track...") {
-               
                        MooDialog newDialog = new MooDialog(MooDialog.DELETE_TRACK);
-                       
                        /* Let the user select a track from a list.
                        seq = Moosique.getSequence();
                        seq.deleteTrack(seq.getTracks()[NUMBER]);
@@ -224,8 +222,10 @@ public class MooMenu extends JMenuBar implements ActionListener {
                        MooDialog newDialog = new MooDialog(MooDialog.SET_TEMPO);
                
                } else if (command == "Scale velocity...") {
+                       MooDialog newDialog = new MooDialog(MooDialog.SCALE_VELOCITY);
                
                } else if (command == "Transpose...") {
+                       MooDialog newDialog = new MooDialog(MooDialog.TRANSPOSE);
                
                } else if (command == "User manual") {
                        MooDialog manual = new MooDialog(MooDialog.MANUAL);