mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
In a MultiList select all cells in the row, not only the first one.
This commit is contained in:
parent
7aeba45b84
commit
9c679f8128
1 changed files with 5 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue