diff options
author | Nat <natcl@hotmail.com> | 2007-07-26 20:29:46 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-07-26 20:29:46 (GMT) |
commit | 64657a1f13e9b426562fb4819503e9a65a7401d5 (patch) | |
tree | 52f562b3eefc22407771c1a30af571e2d00ea3a3 /TamTam.py | |
parent | b77b499feeec54be04f85cd4e31f069de0ba0573 (diff) |
Toolbar in edit (non functional)
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -109,6 +109,7 @@ class TamTam(Activity): def doNothing(): #a callback function to appease SynthLab pass + def set_mode(self, mode, arg = None): if Config.DEBUG: print 'DEBUG: TamTam::set_mode from', self.mode, 'to', mode @@ -151,10 +152,10 @@ class TamTam(Activity): self.mode = mode if mode == 'edit': - self.toolbox.hide() + #self.toolbox.hide() if not (mode in self.modeList): self.metadata['title'] = 'TamTam Edit' - self.modeList[mode] = MainWindow(self.set_mode) + self.modeList[mode] = MainWindow(self, self.set_mode) if self.instrumentPanel in self.preloadList: self.instrumentPanel.load() # finish loading self.modeList[mode].setInstrumentPanel( self.instrumentPanel ) |