Lev_Langovskii hace 4 semanas
padre
commit
599187a303
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      InterfaceL.py

+ 3 - 3
InterfaceL.py

@@ -168,7 +168,7 @@ class Interface():
         self.t1grafbtn = Label(self.f_grafbtn, text="Выбор конца времени", fg="black")
         self.t1grafbtn.grid(column=0, row=2)
         self.button_time1 = Button(self.f_grafbtn, text="start",
-                                   bg="lightgray", fg="black", command=self.clicked_time)
+                                   bg="lightgray", fg="black", command=self.clicked_time, state=['disabled'])
         self.button_time1.grid(column=0, row=3, sticky=EW)
         self.tgrafsp1 = Label(self.f_grafbtn, text="Конец времени, с", fg="black")
         self.tgrafsp1.grid(column=0, row=4)
@@ -233,7 +233,7 @@ class Interface():
         self.t1grafbtnADC = Label(self.f_grafbtnADC, text="Выбор конца времени", fg="black")
         self.t1grafbtnADC.grid(column=0, row=2)
         self.button_time1ADC = Button(self.f_grafbtnADC, text="start",
-                                   bg="lightgray", fg="black", command=self.clicked_timeADC)
+                                   bg="lightgray", fg="black", command=self.clicked_timeADC, state=['disabled'])
         self.button_time1ADC.grid(column=0, row=3, sticky=EW)
         self.tgrafsp1ADC = Label(self.f_grafbtnADC, text="Конец времени, с", fg="black")
         self.tgrafsp1ADC.grid(column=0, row=4)
@@ -298,7 +298,7 @@ class Interface():
         self.t1grafbtnTEM = Label(self.f_grafbtnTEM, text="Выбор конца времени", fg="black")
         self.t1grafbtnTEM.grid(column=0, row=2)
         self.button_time1TEM = Button(self.f_grafbtnTEM, text="start",
-                                   bg="lightgray", fg="black", command=self.clicked_timeTEM)
+                                   bg="lightgray", fg="black", command=self.clicked_timeTEM, state=['disabled'])
         self.button_time1TEM.grid(column=0, row=3, sticky=EW)
         self.tgrafsp1TEM = Label(self.f_grafbtnTEM, text="Конец времени, с", fg="black")
         self.tgrafsp1TEM.grid(column=0, row=4)