Ignore:
Timestamp:
2013-08-09T16:08:30+02:00 (11 years ago)
Author:
bastiK
Message:

see #7275 - allow script to handle restart

When JOSM was started with parameter -Djosm.restart=true, a
user request for restart will simply terminate the application
with exit code 9.
The start script is then responsible for the restart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r6108 r6125  
    8484        mainFrame.addWindowListener(new WindowAdapter(){
    8585            @Override public void windowClosing(final WindowEvent arg0) {
    86                 Main.exitJosm(true);
     86                Main.exitJosm(true, 0);
    8787            }
    8888        });
Note: See TracChangeset for help on using the changeset viewer.