changeset 43:2cd759c2b3c7

(21:29:34) dmcc: no need to have the E for effects (21:29:34) dmcc: no need to have the E for effects (21:29:48) drewp: oh yeah (21:29:52) drewp: feel free to take care of that
author dmcc
date Sun, 07 Jul 2002 12:31:18 +0000
parents 5e4fb4ac2d18
children 6540879e336e
files light8/panels.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light8/panels.py	Sun Jul 07 12:24:01 2002 +0000
+++ b/light8/panels.py	Sun Jul 07 12:31:18 2002 +0000
@@ -121,8 +121,9 @@
                             labelwidth=width1,
                             **scaleopts)
 
-            eb = Button(f,text="E",font=stdfont,padx=0,pady=0,bd=1,command=lambda subediting=subediting,sub=sub: subediting.setsub(sub))
-            eb.pack(side=side1,fill='both',padx=0,pady=0)
+            if not sub.is_effect:
+                eb = Button(f,text="E",font=stdfont,padx=0,pady=0,bd=1,command=lambda subediting=subediting,sub=sub: subediting.setsub(sub))
+                eb.pack(side=side1,fill='both',padx=0,pady=0)
 
             for axis in ('y','x'):
                 cvar=IntVar()