From: Jack Jansen Date: Wed, 12 Feb 2003 12:47:00 +0000 (+0000) Subject: In a MultiList select all cells in the row, not only the first one. X-Git-Tag: v2.3c1~1897 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c679f812870ed470ef3de316ab2fde3789f6a89;p=python In a MultiList select all cells in the row, not only the first one. --- diff --git a/Mac/Tools/IDE/Wlists.py b/Mac/Tools/IDE/Wlists.py index a40db852d0..1b66a8bab3 100644 --- a/Mac/Tools/IDE/Wlists.py +++ b/Mac/Tools/IDE/Wlists.py @@ -573,9 +573,10 @@ class MultiList(List): return set_sel = self._list.LSetSelect for i in range(len(self.items)): - if i in selection: - set_sel(1, (0, i)) - else: - set_sel(0, (0, i)) + for j in range(len(self.items[i])): + if i in selection: + set_sel(1, (j, i)) + else: + set_sel(0, (j, i)) #self._list.LAutoScroll()