mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Clear array when window receives focus
This commit is contained in:
@@ -59,6 +59,7 @@ class SelectList extends View
|
||||
@loading.text(message).show()
|
||||
|
||||
populateList: ->
|
||||
return unless @hasParent()
|
||||
filterQuery = @miniEditor.getText()
|
||||
if filterQuery.length
|
||||
filteredArray = fuzzyFilter(@array, filterQuery, key: @filterKey)
|
||||
|
||||
Reference in New Issue
Block a user