소스 검색

hidde: gui-redraw

micha 1 년 전
부모
커밋
bcfab5c1ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"