Skip to content

Commit

Permalink
Handle updated login button caption in Gateway 974
Browse files Browse the repository at this point in the history
  • Loading branch information
rlktradewright committed Nov 17, 2018
1 parent c6e0a9a commit 81eba94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<property environment="env"/>
<fail unless="env.IBC_BIN" message="Environment variable 'IBC_BIN' not set (set it to the fully-qualified directory name containing the TWS jar files)."/>

<property name="ver" value="3.7.1"/>
<property name="ver" value="3.7.2"/>
<property name="src" location="src"/>
<property name="resources" location="resources"/>
<property name="target" location="target"/>
Expand Down
Binary file modified resources/IBC.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.1
3.7.2
1 change: 1 addition & 0 deletions src/ibcalpha/ibc/GatewayLoginFrameHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public boolean recogniseWindow(Window window) {

return (SwingUtils.titleContains(window, "IB Gateway") &&
(SwingUtils.findButton(window, "Login") != null ||
SwingUtils.findButton(window, "Log In") != null || // TWS 974+
SwingUtils.findButton(window, "Paper Log In") != null)); // TWS 974+
}

Expand Down

0 comments on commit 81eba94

Please sign in to comment.