From f24691a586f75bb47da9472566a4dbfe8f4f1ad9 Mon Sep 17 00:00:00 2001 From: dexy Date: Fri, 14 Dec 2018 22:17:13 +1100 Subject: [PATCH] Fixed RPF explorer search results back/forward bug --- ExploreForm.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ExploreForm.cs b/ExploreForm.cs index 812da28..1fc911e 100644 --- a/ExploreForm.cs +++ b/ExploreForm.cs @@ -1068,7 +1068,10 @@ namespace CodeWalker MainListView.VirtualListSize = 0; if (CurrentFolder != null) { - CurrentFolder.ListItems = null; //makes sure to rebuild the current files list + 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.