Changeset 5203 in josm for trunk/src/org
- Timestamp:
- 2012-04-21T20:25:21+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
r5162 r5203 275 275 276 276 int answer = 0; 277 if (hasLists) { 278 answer = JOptionPane.showOptionDialog(Main.parent, tr("What to with preference lists when this file is to be imported?"), tr("Question"), 279 JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, 280 null, new String[]{"Append preferences from file to existing values","Replace existing values"},0); 277 if (hasLists) { 278 answer = JOptionPane.showOptionDialog( 279 Main.parent, tr("What to do with preference lists when this file is to be imported?"), tr("Question"), 280 JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, 281 new String[]{tr("Append preferences from file to existing values"), tr("Replace existing values")}, 0); 281 282 } 282 283 CustomConfigurator.exportPreferencesKeysToFile(files[0].getAbsolutePath(), answer==0, keys);
Note:
See TracChangeset
for help on using the changeset viewer.