Skip to content

Commit

Permalink
save console process before computing interaction mode; fixes #1810
Browse files Browse the repository at this point in the history
this change fixes an issue introduced in
2b7bff8; because getInteractionMode()
uses the saved console process, it needs to be set before we check the
interaction mode.
  • Loading branch information
jmcphers committed Dec 11, 2017
1 parent c970996 commit 36b13df
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -76,6 +76,9 @@ public ConsoleProgressDialog(String title,
throw new IllegalArgumentException(
"Invalid combination of arguments to ConsoleProgressDialog");
}

// save console process so that we can compute interaction mode below
consoleProcess_ = consoleProcess;

if (getInteractionMode() != ConsoleProcessInfo.INTERACTION_NEVER)
{
Expand Down

0 comments on commit 36b13df

Please sign in to comment.