dabo Commit
Revision 6771
Date: 2011-08-09 03:41:50 -0700 (Tue, 09 Aug 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6771
Changed:
U trunk/dabo/ui/uiwx/dListControl.py
Log:
Fix PositionValue property setter issue.
Diff:
Modified: trunk/dabo/ui/uiwx/dListControl.py
===================================================================
--- trunk/dabo/ui/uiwx/dListControl.py 2011-08-09 10:40:04 UTC (rev 6770)
+++ trunk/dabo/ui/uiwx/dListControl.py 2011-08-09 10:41:50 UTC (rev 6771)
@@ -567,6 +567,10 @@
if col < cc:
self.autoSizeColumn(col)
+ def SetSelection(self, index):
+ """Wrapper for backend Select method."""
+ if self.Count > index:
+ self.Select(index)
# Property get/set/del methods follow. Scroll to bottom to see the
property
# definitions themselves.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]