Skip to content

Commit

Permalink
Revert "Set focus to the window we just opened"
Browse files Browse the repository at this point in the history
This reverts commit 80e6ac7. This was causing more problems than it was solving.
  • Loading branch information
parnic committed Sep 25, 2019
1 parent 196bb9c commit 0633fb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ListFiles.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,11 @@ 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
Expand Down

0 comments on commit 0633fb5

Please sign in to comment.