dotless i?
Some checks failed
FModel QA Builder / build (push) Has been cancelled

This commit is contained in:
Asval
2024-08-15 21:56:09 +02:00
parent bf97c0002f
commit 3af527770b
2 changed files with 4 additions and 4 deletions

View File

@@ -872,7 +872,7 @@ public class CUE4ParseViewModel : ViewModel
{ {
if (fullPath.StartsWith("/")) fullPath = fullPath[1..]; if (fullPath.StartsWith("/")) fullPath = fullPath[1..];
var savedAudioPath = Path.Combine(UserSettings.Default.AudioDirectory, var savedAudioPath = Path.Combine(UserSettings.Default.AudioDirectory,
UserSettings.Default.KeepDirectoryStructure ? fullPath : fullPath.SubstringAfterLast('/')).Replace('\\', '/') + $".{ext.ToLower()}"; UserSettings.Default.KeepDirectoryStructure ? fullPath : fullPath.SubstringAfterLast('/')).Replace('\\', '/') + $".{ext.ToLowerInvariant()}";
if (!UserSettings.Default.IsAutoOpenSounds) if (!UserSettings.Default.IsAutoOpenSounds)
{ {