Added search string in StringListWidget when KeyAction is Text

This commit is contained in:
lemming-life 2017-08-16 20:12:38 -06:00
parent 89c8191d45
commit 17c2f93cb6
1 changed files with 1 additions and 0 deletions

View File

@ -1452,6 +1452,7 @@ class StringListWidget : ListWidget {
if (timePassed > 0.5) _searchString = ""d;
_searchString ~= to!dchar(event.text.toUTF8);
_stopWatch.reset;
if ( selectClosestMatch(_searchString) ) {
invalidate();