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