changeset 577:7ecde61ebff1

fix SC loading Ignore-this: 8131e2e09b1561ad042f82d81a5ccfc9
author drewp@bigasterisk.com
date Sat, 19 Jun 2010 23:17:47 +0000
parents 80b3b2903fb4
children a4b1e51d8169
files bin/subcomposer
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/subcomposer	Sat Jun 19 23:10:15 2010 +0000
+++ b/bin/subcomposer	Sat Jun 19 23:17:47 2010 +0000
@@ -11,7 +11,7 @@
 
 import run_local
 from light9.dmxchanedit import Levelbox
-from light9 import dmxclient, Patch, Submaster
+from light9 import dmxclient, Patch, Submaster, showconfig
 from light9.uihelpers import toplevelat
 
 class Subcomposer(tk.Frame):
@@ -86,7 +86,7 @@
         s.save()
     def loadsub(self, subname):
         """puts a sub into the levels, replacing old level values"""
-        s=Submaster.Submasters().get_sub_by_name(subname)
+        s=Submaster.Submasters(showconfig.getGraph()).get_sub_by_name(subname)
         self.set_levels(s.get_dmx_list())
         dispatcher.send("levelchanged")
     def sendupdate(self):