dabo Commit
Revision 6088
Date: 2010-10-07 11:24:19 -0700 (Thu, 07 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6088
Changed:
U trunk/dabo/ui/dDataControlMixinBase.py
Log:
Ever since r5563, a dropdown list of mine wouldn't flush its value if it
happened to have the same value in two different records. This fixes it.
Diff:
Modified: trunk/dabo/ui/dDataControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dDataControlMixinBase.py 2010-10-07 16:56:01 UTC (rev
6087)
+++ trunk/dabo/ui/dDataControlMixinBase.py 2010-10-07 18:24:19 UTC (rev
6088)
@@ -205,7 +205,7 @@
##- #if oldVal is None and curVal is None:
##- # Could be changed and we just don't know it...
##- # isChanged = True
- if isinstance(self, (dabo.ui.dToggleButton,)):
+ if isinstance(self, (dabo.ui.dToggleButton,
dabo.ui.dDropdownList)):
# These classes change their value before the GotFocus
event
# can store the oldval, so always flush 'em.
oldVal = None
_______________________________________________
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]