Changeset 6111 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2013-08-04T02:49:28+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8720 - should fix restart with JNLP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/RestartAction.java

    r6084 r6111  
    9494                cmd.add(mainCommand[0]);
    9595            }
     96            // if it's webstart add JNLP file
     97            String jnlp = System.getProperty("jnlp.application.href");
     98            if (jnlp != null) {
     99                cmd.add(jnlp);
     100            }
    96101            // finally add program arguments
    97102            cmd.addAll(Arrays.asList(Main.commandLineArgs));
Note: See TracChangeset for help on using the changeset viewer.