d49d5524e472 — Alain Leufroy 11 months ago
mixin: fix "search" in TREE pane

When combining multiple mixins, we must propagate `_connect_signals`
call to every mixins.
1 files changed, 2 insertions(+), 0 deletions(-)

M lairucrem/mixin.py
M lairucrem/mixin.py +2 -0
@@ 236,6 236,7 @@ class horizontal_scroll_listbox(modifiab
     _amount = 5
 
     def _connect_signals(self):
+        super(horizontal_scroll_listbox, self)._connect_signals()
         urwid.signals.connect_signal(
             self, 'slideleft', self.__class__.slide_left)
         urwid.signals.connect_signal(

          
@@ 411,6 412,7 @@ class searchable_listbox(_key_to_signal)
         apply_mixin(self.body, searchable_walker)
 
     def _connect_signals(self):
+        super(searchable_listbox, self)._connect_signals()
         urwid.signals.connect_signal(
             self, 'search', ensure_one(self._on_search).ensure)
         urwid.connect_signal(self, 'goto_next_found', self.goto_next_found)