ws_cb: first check if there are panels
This commit is contained in:
parent
1e6a9ec8ae
commit
731a78b2f2
@ -882,7 +882,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
)
|
)
|
||||||
|
|
||||||
self.base_panel.process_update(action, data)
|
self.base_panel.process_update(action, data)
|
||||||
if self._cur_panels[-1] in self.subscriptions:
|
if self._cur_panels and self._cur_panels[-1] in self.subscriptions:
|
||||||
self.panels[self._cur_panels[-1]].process_update(action, data)
|
self.panels[self._cur_panels[-1]].process_update(action, data)
|
||||||
|
|
||||||
def _confirm_send_action(self, widget, text, method, params=None):
|
def _confirm_send_action(self, widget, text, method, params=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user