Explorar o código

hidde: gui-redraw

micha hai 1 ano
pai
achega
bcfab5c1ca
Modificáronse 1 ficheiros con 1 adicións e 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"