- Timestamp:
- 2018-12-31T18:30:23+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r14511 r14622 196 196 @Override 197 197 public void openUrl(String url) throws IOException { 198 final String customBrowser = Config.getPref().get("browser.windows", null); 199 if (customBrowser != null) { 200 Runtime.getRuntime().exec(new String[]{customBrowser, url}); 201 return; 198 if (!url.startsWith("file:/")) { 199 final String customBrowser = Config.getPref().get("browser.windows", ""); 200 if (!customBrowser.isEmpty()) { 201 Runtime.getRuntime().exec(new String[]{customBrowser, url}); 202 return; 203 } 202 204 } 203 205 try {
Note:
See TracChangeset
for help on using the changeset viewer.