Skip to content

Commit 80e6ac7

Browse files
committed
Set focus to the window we just opened
Fixes #7
1 parent db7b188 commit 80e6ac7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ListFiles.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,13 @@ private void OpenSelectedFiles(bool bInSolutionExplorer)
131131
{
132132
var w = (item as ProjectItemWrapper).ProjItem.Open();
133133
w.Visible = true;
134+
w.Activate();
134135
}
135136
catch (Exception)
136137
{
137138
var w = OpenFileInSolutionPackage.GetActiveIDE().ItemOperations.OpenFile((item as ProjectItemWrapper).Path);
138139
w.Visible = true;
140+
w.Activate();
139141
}
140142
}
141143
else

0 commit comments

Comments
 (0)