Ignore:
Timestamp:
2010-07-20T08:54:22+02:00 (16 years ago)
Author:
jttt
Message:

Fix #2662 Auto-save

File:
1 edited

Legend:

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

    r2715 r3378  
    22package org.openstreetmap.josm.actions;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    66
    77import java.awt.event.ActionEvent;
     
    2727
    2828    public void actionPerformed(ActionEvent e) {
    29         if (Main.saveUnsavedModifications()) {
    30             Main.saveGuiGeometry();
    31             System.exit(0);
    32         }
     29        Main.exitJosm(true);
    3330    }
    3431}
Note: See TracChangeset for help on using the changeset viewer.