Fix the Subtitles button in PlayMovie not showing the form

it was immediately disposed woops
This commit is contained in:
Morilli 2024-06-05 19:28:44 +02:00
parent f90cd201bc
commit 6ffe5a0d5d
1 changed files with 2 additions and 2 deletions

View File

@ -540,8 +540,8 @@ namespace BizHawk.Client.EmuHawk
var movie = _movieSession.Get(_movieList[MovieView.SelectedIndices[0]].Filename);
movie.Load();
// TODO movie should be disposed if movie is ITasMovie
using EditSubtitlesForm s = new(DialogController, movie, _config.PathEntries, readOnly: true);
s.Show();
var form = new EditSubtitlesForm(DialogController, movie, _config.PathEntries, readOnly: true);
form.Show();
}
}