Bug fix: First click on Liberated icon shows 'File not found: <temppath>'. Second click opens correct final path. #164
This commit is contained in:
parent
b4015030cf
commit
5059333b38
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>6.5.3.1</Version>
|
||||
<Version>6.5.4.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace LibationFileManager
|
|||
{
|
||||
// primary lookup
|
||||
var cachedFile = FilePathCache.GetFirstPath(productId, FileType);
|
||||
if (cachedFile != null)
|
||||
if (cachedFile is not null && File.Exists(cachedFile))
|
||||
return cachedFile;
|
||||
|
||||
// secondary lookup attempt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue