From 963e5bdd62d5090657a14630a817c092e688120d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 9 Jan 2023 18:41:12 -0500 Subject: [PATCH] Go back to `Feed.pause/resume()`, new flume APIs coming later --- piker/ui/_chart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index 93b410958..bad82544a 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -916,7 +916,7 @@ def resume_all_feeds(self): try: for feed in self._feeds.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: # TODO: cancel the qtractor runtime here? raise @@ -924,7 +924,7 @@ def resume_all_feeds(self): def pause_all_feeds(self): for feed in self._feeds.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 def view(self) -> ChartView: