diff --git a/ListFiles.xaml.cs b/ListFiles.xaml.cs index b5c4b01..a976e72 100644 --- a/ListFiles.xaml.cs +++ b/ListFiles.xaml.cs @@ -131,11 +131,13 @@ private void OpenSelectedFiles(bool bInSolutionExplorer) { var w = (item as ProjectItemWrapper).ProjItem.Open(); w.Visible = true; + w.Activate(); } catch (Exception) { var w = OpenFileInSolutionPackage.GetActiveIDE().ItemOperations.OpenFile((item as ProjectItemWrapper).Path); w.Visible = true; + w.Activate(); } } else