mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-08-21 01:19:21 +08:00
Fixed RPF explorer search results back/forward bug
This commit is contained in:
parent
f84b51d1c1
commit
f24691a586
@ -1067,8 +1067,11 @@ namespace CodeWalker
|
|||||||
{
|
{
|
||||||
MainListView.VirtualListSize = 0;
|
MainListView.VirtualListSize = 0;
|
||||||
if (CurrentFolder != null)
|
if (CurrentFolder != null)
|
||||||
|
{
|
||||||
|
if (!CurrentFolder.IsSearchResults)
|
||||||
{
|
{
|
||||||
CurrentFolder.ListItems = null; //makes sure to rebuild the current files list
|
CurrentFolder.ListItems = null; //makes sure to rebuild the current files list
|
||||||
|
}
|
||||||
CurrentFiles = CurrentFolder.GetListItems();
|
CurrentFiles = CurrentFolder.GetListItems();
|
||||||
|
|
||||||
foreach (var file in CurrentFiles) //cache all the data for use by the list view.
|
foreach (var file in CurrentFiles) //cache all the data for use by the list view.
|
||||||
|
Loading…
Reference in New Issue
Block a user