diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 12:47:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 12:47:00 (GMT) |
commit | 9c679f812870ed470ef3de316ab2fde3789f6a89 (patch) | |
tree | aec7d6d123e0d5f4413c1f4b50871ddeb27d3684 /Mac/Tools | |
parent | 7aeba45b84c7131f39f1f0ad00942c77e28112a3 (diff) | |
download | cpython-9c679f812870ed470ef3de316ab2fde3789f6a89.zip cpython-9c679f812870ed470ef3de316ab2fde3789f6a89.tar.gz cpython-9c679f812870ed470ef3de316ab2fde3789f6a89.tar.bz2 |
In a MultiList select all cells in the row, not only the first one.
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/Wlists.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/Wlists.py b/Mac/Tools/IDE/Wlists.py index a40db85..1b66a8b 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() |