Go back to `Feed.pause/resume()`, new flume APIs coming later
parent
55de9abc41
commit
963e5bdd62
|
@ -916,7 +916,7 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
try:
|
try:
|
||||||
for feed in self._feeds.values():
|
for feed in self._feeds.values():
|
||||||
for flume in feed.flumes.values():
|
for flume in feed.flumes.values():
|
||||||
self.linked.godwidget._root_n.start_soon(flume.resume)
|
self.linked.godwidget._root_n.start_soon(feed.resume)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
# TODO: cancel the qtractor runtime here?
|
# TODO: cancel the qtractor runtime here?
|
||||||
raise
|
raise
|
||||||
|
@ -924,7 +924,7 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
def pause_all_feeds(self):
|
def pause_all_feeds(self):
|
||||||
for feed in self._feeds.values():
|
for feed in self._feeds.values():
|
||||||
for flume in feed.flumes.values():
|
for flume in feed.flumes.values():
|
||||||
self.linked.godwidget._root_n.start_soon(flume.pause)
|
self.linked.godwidget._root_n.start_soon(feed.pause)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def view(self) -> ChartView:
|
def view(self) -> ChartView:
|
||||||
|
|
Loading…
Reference in New Issue