From d4fb39b22f791a7b30e3b3e2077d7410495bb9bb Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 16 Feb 2009 01:43:15 +0100 Subject: update all non-master listboxes when any listbox changes --- lib/python/Components/Sources/List.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/python/Components/Sources/List.py') diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py index 23b53957..dbe442d1 100644 --- a/lib/python/Components/Sources/List.py +++ b/lib/python/Components/Sources/List.py @@ -40,6 +40,11 @@ to generate HTML.""" if self.disable_callbacks: return + # update all non-master targets + for x in self.downstream_elements: + if x is not self.master: + x.index = index + for x in self.onSelectionChanged: x() -- cgit v1.2.3