Skip to content

Commit

Permalink
avoid bringing focus back to rstudio for testthat results #2599
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Apr 12, 2018
1 parent 7cbf334 commit ac343ff
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -150,7 +150,7 @@ public void onBuildErrors(BuildErrorsEvent event)
SourceMarkerList.AUTO_SELECT_NONE,
event.openErrorList());

if (uiPrefs_.navigateToBuildError().getValue())
if (uiPrefs_.navigateToBuildError().getValue() && event.openErrorList())
{
SourceMarker error = SourceMarker.getFirstError(event.getErrors());
if (error != null)
Expand Down

0 comments on commit ac343ff

Please sign in to comment.