screen: Only process current panel's subscription

This commit is contained in:
Jordan Ruthe 2021-02-18 12:35:00 -05:00
parent 52e3f53333
commit 08b1e0d17a

View File

@ -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