# HG changeset patch # User dmcc # Date 2002-07-07 12:31:18 # Node ID 2cd759c2b3c706045cbfbef0c3aedf0309be2d33 # Parent 5e4fb4ac2d181b9cbce2de27191c1775909499f3 (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 diff --git a/light8/panels.py b/light8/panels.py --- a/light8/panels.py +++ b/light8/panels.py @@ -121,8 +121,9 @@ class Subpanels: 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()