From 08b1e0d17aeab128eef06f4abbc5379da053120d Mon Sep 17 00:00:00 2001 From: Jordan Ruthe Date: Thu, 18 Feb 2021 12:35:00 -0500 Subject: [PATCH] screen: Only process current panel's subscription --- screen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen.py b/screen.py index ac85ab49..18ab9b1e 100644 --- a/screen.py +++ b/screen.py @@ -536,8 +536,8 @@ class KlipperScreen(Gtk.Window): self.show_popup_message(data[3:]) logger.debug(json.dumps([action, data], indent=2)) - for sub in self.subscriptions: - self.panels[sub].process_update(action, data) + if self._cur_panels[-1] in self.subscriptions: + self.panels[self._cur_panels[-1]].process_update(action, data) def _confirm_send_action(self, widget, text, method, params={}): _ = self.lang.gettext