[POS-commit] CVS: Kiwi/Kiwi Delegates.py,1.88,1.89
Guilherme Salgado
salgado at async.com.br
Wed Feb 5 16:56:20 BRDT 2003
- Previous message: [POS-commit] CVS: Kiwi/Kiwi Basic.py,1.17,1.18 Delegates.py,1.87,1.88
Menu.py,1.26,1.27 Proxies.py,1.42,1.43 UI.py,1.12,1.13
Views.py,1.75,1.76 __init__.py,1.35,1.36
- Next message: [POS-commit] CVS: Kiwi/Kiwi Delegates.py,1.89,1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/Kiwi/Kiwi
In directory anthem:/tmp/cvs-serv9576/Kiwi
Modified Files:
Delegates.py
Log Message:
- Fixed a bug that causes the ClistDelegate to select only one row when
restore_selection is TRUE, even when clist is in mode SELECTION_EXTENDED.
Index: Delegates.py
===================================================================
RCS file: /cvs/Kiwi/Kiwi/Delegates.py,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- Delegates.py 3 Feb 2003 19:28:32 -0000 1.88
+++ Delegates.py 5 Feb 2003 17:56:17 -0000 1.89
@@ -292,14 +292,14 @@
self._list = [] # reset _list; this is required because
# _load() does not reset it
self._load(list)
+ clist.set_selection_mode(old_mode)
if restore_selection:
for instance in old_sel:
# we need to find the rows because some instances may
# have disappeared with the clear/_load
row = clist.find_row_from_data(instance)
if row >= 0:
- self._select_and_focus_row(row, old_mode)
- clist.set_selection_mode(old_mode)
+ self._select_and_focus_row(row, clist['selection_mode'])
clist.thaw()
def clear_list(self):
- Previous message: [POS-commit] CVS: Kiwi/Kiwi Basic.py,1.17,1.18 Delegates.py,1.87,1.88
Menu.py,1.26,1.27 Proxies.py,1.42,1.43 UI.py,1.12,1.13
Views.py,1.75,1.76 __init__.py,1.35,1.36
- Next message: [POS-commit] CVS: Kiwi/Kiwi Delegates.py,1.89,1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the POS-commit
mailing list