diff options
author | amartin <olpc@xo-05-28-21.localdomain> | 2007-07-20 09:05:56 (GMT) |
---|---|---|
committer | amartin <olpc@xo-05-28-21.localdomain> | 2007-07-20 09:05:56 (GMT) |
commit | 8d3015f87bc7270572b419e184184abc139a497c (patch) | |
tree | 94821325c249d14326a1a43d4910c3e03bf7b376 /Edit/Properties.py | |
parent | 1af282d79ba87022d6f34ba258c17c49eb9dce05 (diff) |
keyboard recording fixes + page properties
Diffstat (limited to 'Edit/Properties.py')
-rw-r--r-- | Edit/Properties.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Edit/Properties.py b/Edit/Properties.py index 68996af..26fc548 100644 --- a/Edit/Properties.py +++ b/Edit/Properties.py @@ -369,7 +369,6 @@ class Properties( gtk.VBox ): except: self.activeWidget = None - print self.pageBox.parent if context == "page": if self.pageBox.parent == None: self.controlsBox.pack_start( self.pageBox ) @@ -381,6 +380,10 @@ class Properties( gtk.VBox ): self.notes[p] = {} for t in range(Config.NUMBER_OF_TRACKS): self.notes[p][t] = self.noteDB.getNotesByTrack( p, t ) + page = self.noteDB.getPage(pageIds[0]) + self.beatAdjust.set_value(page.beats) + btn = "color%dButton" % page.color + self.GUI[btn].set_active(True) elif context == "track": if self.pageBox.parent != None: self.controlsBox.remove( self.pageBox ) |