Changeset 13142 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/display/LafPreference.java
- Timestamp:
- 2017-11-22T01:49:53+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/LafPreference.java
r12846 r13142 82 82 private final JCheckBox showSplashScreen = new JCheckBox(tr("Show splash screen at startup")); 83 83 private final JCheckBox showID = new JCheckBox(tr("Show object ID in selection lists")); 84 private final JCheckBox showCoor = new JCheckBox(tr("Show node coordinates in selection lists")); 84 85 private final JCheckBox showLocalizedName = new JCheckBox(tr("Show localized name in selection lists")); 85 86 private final JCheckBox modeless = new JCheckBox(tr("Modeless working (Potlatch style)")); … … 132 133 showID.setSelected(Config.getPref().getBoolean("osm-primitives.showid", false)); 133 134 135 // Show Coordinates in selection 136 showCoor.setToolTipText(tr("Show node coordinates in selection lists")); 137 showCoor.setSelected(Config.getPref().getBoolean("osm-primitives.showcoor", false)); 138 134 139 // Show localized names 135 140 showLocalizedName.setToolTipText(tr("Show localized name in selection lists, if available")); … … 142 147 143 148 panel.add(showID, GBC.eop().insets(20, 0, 0, 0)); 149 panel.add(showCoor, GBC.eop().insets(20, 0, 0, 0)); 144 150 panel.add(showLocalizedName, GBC.eop().insets(20, 0, 0, 0)); 145 151 panel.add(modeless, GBC.eop().insets(20, 0, 0, 0)); … … 205 211 Config.getPref().putBoolean("draw.splashscreen", showSplashScreen.isSelected()); 206 212 Config.getPref().putBoolean("osm-primitives.showid", showID.isSelected()); 213 Config.getPref().putBoolean("osm-primitives.showcoor", showCoor.isSelected()); 207 214 Config.getPref().putBoolean("osm-primitives.localize-name", showLocalizedName.isSelected()); 208 215 MapFrame.MODELESS.put(modeless.isSelected());
Note:
See TracChangeset
for help on using the changeset viewer.