always prompt filename in tastudio bk2 export

- resolves #4172
This commit is contained in:
Morilli 2025-05-26 00:38:24 +02:00
parent 0e3d786c70
commit a21b9e049f
1 changed files with 2 additions and 5 deletions

View File

@ -213,11 +213,8 @@ namespace BizHawk.Client.EmuHawk
filename = SuggestedTasProjName();
}
var fileInfo = new FileInfo(Path.ChangeExtension(filename, Bk2Movie.Extension));
if (fileInfo.Exists)
{
fileInfo = SaveFileDialog(currentFile: fileInfo.Name, path: Config!.PathEntries.MovieAbsolutePath(), new FilesystemFilterSet(FilesystemFilter.BizHawkMovies), this);
}
filename = Path.ChangeExtension(filename, Bk2Movie.Extension);
var fileInfo = SaveFileDialog(currentFile: filename, path: Config!.PathEntries.MovieAbsolutePath(), new FilesystemFilterSet(FilesystemFilter.BizHawkMovies), this);
if (fileInfo is not null)
{