Explorar el Código

hidde: gui-redraw

micha hace 1 año
padre
commit
bcfab5c1ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tkgui/draw.py

+ 1 - 1
tkgui/draw.py

@@ -599,7 +599,7 @@ def draw_setup(gui,xframe,data):
             b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
         elif comm == "NEW\nSHOW" and pro_mode:
             b = tk.Button(frame,bg="lightgreen", text=str(comm),width=5,height=2)
-        elif comm == "DRAW\nGUI":
+        elif comm == "DRAW\nGUI" and pro_mode:
             b = tk.Button(frame,bg="lightgrey", text=str(comm),width=5,height=2)
         elif comm == "PRO\nMODE":
             bg="lightgrey"