[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.21
Steve Alexander
steve@cat-box.net
Mon, 20 Jan 2003 09:36:15 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv10822/src/zope/app/browser/component
Modified Files:
interfacewidget.py
Log Message:
fixed bug.
=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.20 => 1.21 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.20 Fri Jan 17 11:31:32 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py Mon Jan 20 09:36:12 2003
@@ -193,6 +193,7 @@
if base == Interface:
base = None
+ first_is_blank = False
if self._data is None: # no data has been set with Widget.setData(),
# so use the data in the form
@@ -213,7 +214,6 @@
selection = selections.setdefault(index, ['', ''])
selection[0] = v.strip()
- first_is_blank = False
# remove all of the selections that have no search and no value
for k,(s,v) in selections.items():
if s == v == '':