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

Commit 464144a

Browse files
committed
fixed file not being focused when opened from OB
1 parent 643d636 commit 464144a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UI/MainWindow/MainWindow.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ public bool TryLoadSourceFile(string filePath, out EditorElement outEditor, bool
336336
if (SelectMe)
337337
{
338338
editor.Parent.IsSelected = true;
339+
editor.editor.TextArea.Caret.Show();
340+
EditorToFocus = editor;
341+
SelectDocumentTimer.Start();
339342
}
340343

341344
outEditor = editor;

0 commit comments

Comments
 (0)