mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Merge pull request #8920 from Flitskikker/feature/import-shotcuts-initial-directory
Initially browse for shot cuts in video folder
This commit is contained in:
commit
674dcf3159
@ -94,6 +94,7 @@ namespace Nikse.SubtitleEdit.Forms.ShotChanges
|
|||||||
"|JSON shot changes file|*.json" +
|
"|JSON shot changes file|*.json" +
|
||||||
"|" + LanguageSettings.Current.General.AllFiles + "|*.*";
|
"|" + LanguageSettings.Current.General.AllFiles + "|*.*";
|
||||||
openFileDialog1.FileName = string.Empty;
|
openFileDialog1.FileName = string.Empty;
|
||||||
|
openFileDialog1.InitialDirectory = Path.GetDirectoryName(_videoFileName);
|
||||||
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
LoadTextFile(openFileDialog1.FileName);
|
LoadTextFile(openFileDialog1.FileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user