fix for empty value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a9b4774c05
commit
96bfe7feee
@ -639,7 +639,10 @@ class ParamContent(PPanel):
|
||||
self.freeze = True
|
||||
if not value: value = []
|
||||
self.value = value
|
||||
repr_ = reduce(lambda a,b: '%s|%s' % (a,b), value)
|
||||
if value:
|
||||
repr_ = reduce(lambda a,b: '%s|%s' % (a,b), value)
|
||||
else:
|
||||
repr_ = ''
|
||||
self.text.SetValue(repr_) # update text ctrl
|
||||
self.freeze = False
|
||||
def OnButtonEdit(self, evt):
|
||||
|
Loading…
Reference in New Issue
Block a user