Changeset 5684 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2013-01-28T14:06:52+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
r5505 r5684 14 14 import java.util.Arrays; 15 15 import java.util.Collection; 16 import java.util.Collections;17 16 import java.util.HashMap; 18 17 import java.util.HashSet; … … 64 63 SessionSaveAsDialog dlg = new SessionSaveAsDialog(); 65 64 dlg.showDialog(); 66 if (dlg.getValue() != 2) return;65 if (dlg.getValue() != 1) return; 67 66 68 67 zipRequired = false; … … 138 137 139 138 public SessionSaveAsDialog() { 140 super(Main.parent, tr("Save Session"), new String[] {tr(" Cancel"), tr("Save As")});139 super(Main.parent, tr("Save Session"), new String[] {tr("Save As"), tr("Cancel")}); 141 140 initialize(); 142 setButtonIcons(new String[] {" cancel", "save_as"});143 setDefaultButton( 2);141 setButtonIcons(new String[] {"save_as", "cancel"}); 142 setDefaultButton(1); 144 143 setRememberWindowGeometry(getClass().getName() + ".geometry", 145 144 WindowGeometry.centerInWindow(Main.parent, new Dimension(350, 450)));
Note:
See TracChangeset
for help on using the changeset viewer.