Skip to content

Commit 5ea4cc3

Browse files
committed
NFE: Fixed resource pack preview
1 parent 37e796f commit 5ea4cc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NFirmwareEditor/Storages/ResourcePacksStorage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public ResourcePack TryLoad(string filePath)
4848
.Select(x => x.Trim())
4949
.ToArray();
5050

51+
result.FilePath = filePath;
52+
result.FileName = Path.GetFileName(filePath);
5153
if (result.Images == null)
5254
{
5355
Trace.Warn("Resource pack '{0}' does not contains any images.", filePath);

0 commit comments

Comments
 (0)