Automatically open sarc file entries if there is only a single file in them
This commit is contained in:
parent
a3be9b111d
commit
11099d88df
@ -142,6 +142,9 @@ namespace FirstPlugin
|
||||
var entry = SetupFileEntry(fileName, file.Value, Hash);
|
||||
files.Add(entry);
|
||||
FileLookup.Add(fileName, entry);
|
||||
|
||||
if (SzsFiles.Files.Count == 1)
|
||||
entry.OpenFileFormatOnLoad = true;
|
||||
}
|
||||
|
||||
sarcData.Files.Clear();
|
||||
|
Loading…
Reference in New Issue
Block a user