]> ruin.nu Git - moosique.git/commitdiff
hmm..
authorMichael Andreen <harv@ruin.nu>
Tue, 13 May 2003 17:32:52 +0000 (17:32 +0000)
committerMichael Andreen <harv@ruin.nu>
Tue, 13 May 2003 17:32:52 +0000 (17:32 +0000)
MooTrackTitle.java

index cc17d170e620995ab22639fbec80b23db9e380a0..74e7a1e8ae2c1ae64a85d158ee555b808344456a 100644 (file)
@@ -63,8 +63,6 @@ public class MooTrackTitle extends JPanel {
                title.addFocusListener(new TitleFocusListener());
                add(title);
 
-               instruments = new MooInstrumentList(programChange);
-               add(instruments);
 
                JPanel checkboxes = new JPanel();
                checkboxes.setLayout(new GridLayout(1,3));
@@ -85,6 +83,8 @@ public class MooTrackTitle extends JPanel {
 
                instruments = new MooInstrumentList(channelBox.getSelectedIndex());
 
+               instruments = new MooInstrumentList(channelBox.getSelectedIndex());
+
                channelBox.addActionListener(new ActionListener(){
                                public void actionPerformed(ActionEvent e){
                                        int chan = channelBox.getSelectedIndex();
@@ -99,6 +99,8 @@ public class MooTrackTitle extends JPanel {
                                                }
                                }}});
                channelBox.setSelectedIndex(channel);
+
+               add(instruments);
                add(channelBox);
 
                mute = new JCheckBox("Mute");