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
wxPython 4.0.3
Text typed into a HyperTreeList searches for a matching item, but it only works once.
The text (self._findPrefix) never gets reset by self._findTimer, which never gets started.
The search logic in the customtreectrl.py base class starts self._findTimer only if it evaluates False:
if not self._findTimer:
self._findTimer = TreeFindTimer(self)
The __init__() method of HyperTreeList sets self._findTimer to a wx.Timer() instance so the timer is never started.
self._findTimer = wx.Timer(self)
If this line is commented out or removed self._findTimer will get initialized to None by the customtreectrl init and everything works fine.
The text was updated successfully, but these errors were encountered:
cbeytas
added a commit
to cbeytas/Phoenix
that referenced
this issue
Jan 23, 2022
wxPython 4.0.3
Text typed into a HyperTreeList searches for a matching item, but it only works once.
The text (self._findPrefix) never gets reset by self._findTimer, which never gets started.
The search logic in the customtreectrl.py base class starts self._findTimer only if it evaluates False:
The
__init__()
method of HyperTreeList sets self._findTimer to a wx.Timer() instance so the timer is never started.If this line is commented out or removed self._findTimer will get initialized to
None
by the customtreectrl init and everything works fine.The text was updated successfully, but these errors were encountered: