浏览代码

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"