Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52e7e59

Browse files
author
soheil_h_y
committed
1. Browser getURL bug fix.
1 parent 9739105 commit 52e7e59

File tree

1 file changed

+2
-1
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/browser

1 file changed

+2
-1
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/browser/Browser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,8 @@ public String getUrl() {
957957
pVarResult.dispose();
958958
return result;
959959
*/
960-
return url;
960+
return handle.contentWindow.location;
961+
// return url;
961962
}
962963

963964
/**

0 commit comments

Comments
 (0)