Merge pull request #8920 from Flitskikker/feature/import-shotcuts-initial-directory

Initially browse for shot cuts in video folder
This commit is contained in:
Nikolaj Olsson 2024-10-20 12:54:50 +02:00 committed by GitHub
commit 674dcf3159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,7 @@ namespace Nikse.SubtitleEdit.Forms.ShotChanges
"|JSON shot changes file|*.json" +
"|" + LanguageSettings.Current.General.AllFiles + "|*.*";
openFileDialog1.FileName = string.Empty;
openFileDialog1.InitialDirectory = Path.GetDirectoryName(_videoFileName);
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
LoadTextFile(openFileDialog1.FileName);