summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-12 12:47:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-12 12:47:00 (GMT)
commit9c679f812870ed470ef3de316ab2fde3789f6a89 (patch)
treeaec7d6d123e0d5f4413c1f4b50871ddeb27d3684 /Mac/Tools
parent7aeba45b84c7131f39f1f0ad00942c77e28112a3 (diff)
downloadcpython-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.py9
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()