Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit ca308a4

Browse files
committed
file dir auto opens on new file opened
1 parent 5fb6620 commit ca308a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UI/MainWindow.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ public bool TryLoadSourceFile(string filePath, bool UseBlendoverEffect = true, b
194194
{
195195
BlendOverEffect.Begin();
196196
}
197-
197+
ChangeObjectBrowserToDirectory(fileInfo.DirectoryName);
198+
ObjectBrowserButtonHolder.SelectedIndex = 0;
198199
return true;
199200
}
200201

0 commit comments

Comments
 (0)