Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:34 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:34 (GMT)
commit7e682ce7620f1f8a9fb9b4ffc4f4039dbfdffc56 (patch)
tree1fda205627934404e9aacce342579a4f8d0269d3 /Edit
parent1204c5b72630555a5e86dc5de58081baa48f7709 (diff)
Jam Popups
Diffstat (limited to 'Edit')
-rw-r--r--Edit/TrackInterface.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Edit/TrackInterface.py b/Edit/TrackInterface.py
index db39f70..b8a3a27 100644
--- a/Edit/TrackInterface.py
+++ b/Edit/TrackInterface.py
@@ -433,9 +433,9 @@ class TrackInterface( gtk.EventBox ):
n.playSampleNote( False )
noteS = self.noteDB.getNotesByTrack(self.curPage, i)
- for n in noteS:
- if n.cs.onset < snapOnset and (n.cs.onset + n.cs.duration) > snapOnset:
- self.noteDB.updateNote(self.curPage, i, n.id, PARAMETER.DURATION, snapOnset - n.cs.onset)
+ for note in noteS:
+ if note.cs.onset < snapOnset and (note.cs.onset + note.cs.duration) > snapOnset:
+ self.noteDB.updateNote(self.curPage, i, note.id, PARAMETER.DURATION, snapOnset - note.cs.onset)
if i != self.drumIndex: # switch to drag duration
self.updateDragLimits()