You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a simple example of a list editor, clicking on the popup menu button causes an error as follows:
File "/Users/cwebster/src/ets/traitsui/traitsui/qt4/list_editor.py", line 280, in popup_menu
proxy = sender.proxy
AttributeError: 'NoneType' object has no attribute 'proxy'
Example code which tweaks this:
class SchoolClass(HasTraits):
# List of the students in the class
students = List(Str)
view = View('
Group(
Item('students',
style='custom',
editor=ListEditor(rows=5),
show_label=False,
),
show_border=True,
label='Students'
),
title = 'Class',
width=300,
height=200,
resizable=True
)
The text was updated successfully, but these errors were encountered:
When running a simple example of a list editor, clicking on the popup menu button causes an error as follows:
Example code which tweaks this:
The text was updated successfully, but these errors were encountered: