View Single Post
10/13/18, 07:18 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
[fixed] zo_sortfilterlist inconsistency

Just noticed something strange about the code for ZO_SortFilterList. In SetLockedForUpdates the "UPDATE_VISIBLE" variable is not declared, meaning it will never be able to reach the self:RefreshVisible(), as it is checking if self.pendingUpdate is set. But that is probably not an issue right now, since UPDATE_VISIBLE is not used at all in RefreshVisible and instead it calls ZO_ScrollList_RefreshVisible directly, without checking if it is locked. Meaning the lock doesn't prevent refresh visible from getting called.