dabo Commit
Revision 6090
Date: 2010-10-07 15:48:50 -0700 (Thu, 07 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6090
Changed:
U trunk/dabo/ui/dDataControlMixinBase.py
Log:
Jacek's proposed fix in ticket #1364 addresses the issue I was having
with dDropdownList, so I reverted my change and implemented his.
Diff:
Modified: trunk/dabo/ui/dDataControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dDataControlMixinBase.py 2010-10-07 18:25:01 UTC (rev
6089)
+++ trunk/dabo/ui/dDataControlMixinBase.py 2010-10-07 22:48:50 UTC (rev
6090)
@@ -153,6 +153,7 @@
else:
self.Value = srcatt
self._inDataUpdate = False
+ self._oldVal = self.Value
def select(self, position, length):
@@ -205,7 +206,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,
dabo.ui.dDropdownList)):
+ if isinstance(self, (dabo.ui.dToggleButton, )):
# 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]