~redache/jokosher/MusicXMLEditor

« back to all changes in this revision

Viewing changes to Jokosher/Project.py

  • Committer: David Williams
  • Date: 2010-07-04 12:39:54 UTC
  • Revision ID: redache@gmail.com-20100704123954-48g3oslw8wvtdi1c
Signal now emits correctly when a score track is added, Stave drawing doesn't function correctly yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1218
1218
                if name == "Score":
1219
1219
                        pixbuf = Globals.getCachedInstrumentPixbuf(type)
1220
1220
                        instr = Instrument.Instrument(self,name,type,pixbuf)
 
1221
                        
 
1222
                        self.temp = instr.id
 
1223
                        self.instruments.append(instr)
 
1224
                        self.emit("instrument::added", instr)   
1221
1225
                        event = instr.AddScoreEvent()
1222
 
                        self.temp = instr.id
1223
 
                        self.instruments.append(instr)
1224
 
                        self.emit("instrument::added", instr)   
1225
 
 
1226
1226
                        return instr
1227
1227
                else:
1228
1228