InstanceEditor with droppable=True crashes on Qt #1478
Labels
component: core
Issues related to the core functionality, ui composition and life cycle.
toolkit: Qt
type: bug
Projects
Setting
droppable=True
on an InstanceEditor when running under Qt crashes with the following error:The proximate cause seems to be that this code:
traitsui/traitsui/qt4/instance_editor.py
Lines 134 to 137 in fb8ea4a
occurs before
self.control
is set, so the fix may be as simple as moving the code further down the method. It is also possible that the code should readself._choice
instead ofself.control
.The text was updated successfully, but these errors were encountered: