mirror of https://github.com/m-labs/artiq.git
applets: fix warning timing
This commit is contained in:
parent
796aeabb53
commit
e996b5f635
|
@ -34,6 +34,7 @@ class HistogramPlot(pyqtgraph.PlotWidget):
|
||||||
brush=(0, 0, 255, 150))
|
brush=(0, 0, 255, 150))
|
||||||
self.setTitle(title)
|
self.setTitle(title)
|
||||||
else:
|
else:
|
||||||
|
if not self.timer.isActive():
|
||||||
self.timer.start(1000)
|
self.timer.start(1000)
|
||||||
|
|
||||||
def length_warning(self):
|
def length_warning(self):
|
||||||
|
|
Loading…
Reference in New Issue