Fixed RPF explorer search results back/forward bug

This commit is contained in:
dexy 2018-12-14 22:17:13 +11:00
parent f84b51d1c1
commit f24691a586

View File

@ -1067,8 +1067,11 @@ namespace CodeWalker
{
MainListView.VirtualListSize = 0;
if (CurrentFolder != null)
{
if (!CurrentFolder.IsSearchResults)
{
CurrentFolder.ListItems = null; //makes sure to rebuild the current files list
}
CurrentFiles = CurrentFolder.GetListItems();
foreach (var file in CurrentFiles) //cache all the data for use by the list view.