What steps will reproduce the problem?
1. Create a DataSet with a FileItem in a Group in a TabGroup
2. Click the file chooser button
What is the expected output? What do you see instead?
AttributeError: parent doesn't have child_title
What version of the product are you using? On what operating system?
Windows XP, guidata 1.3.1
Please provide any additional information below.
Maybe need to search for a parent with child_title:
def _find_child_title(p):
if p is None: return lambda x: ''
try: return p.child_title
except AttributeError: return _find_child_title(p.parent())
child_title = _find_child_title(parent)
fname = self.filedialog(parent, child_title(self.item), fname,
"\n".join(filter_lines))
instead of existing
try:
child_title = parent.child_title
except AttributeError:
child_title = parent.parent().child_title
fname = self.filedialog(parent, child_title(self.item), fname,
"\n".join(filter_lines))
Original issue reported on code.google.com by r.lup...@gmail.com on 10 Aug 2011 at 4:50
Original issue reported on code.google.com by
r.lup...@gmail.com
on 10 Aug 2011 at 4:50