Ver Fonte

hidde: gui-redraw

micha há 1 ano atrás
pai
commit
bcfab5c1ca
1 ficheiros alterados com 1 adições e 1 exclusões
  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"