enthought / enthought/traitsui

wx set editor doesn't rebuild on item deletion

Open
#840 0 comments 0 reactions 0 assignees View on GitHub
priority: low toolkit: WxPython4 type: bug
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

When items are deleted from list of available values, the editor is supposed to update the underlying object *and* the editor. However, in this scenario wx set editor returns without updating the editor:
https://github.com/enthought/traitsui/blob/bdb11ada13421a4a9dbe63c0c3d7ebf8f5a53f98/traitsui/wx/set_editor.py#L212-L223

The solution to the issue is to simply remove this return statement.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.