Changeset 15441 in josm
- Timestamp:
- 2019-10-07T22:39:42+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r15011 r15441 23 23 import javax.swing.JPanel; 24 24 25 import org.openstreetmap.josm.actions.downloadtasks.DownloadGeoJsonTask; 25 26 import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask; 26 27 import org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask; … … 101 102 addDownloadTaskClass(DownloadNotesUrlBoundsTask.class); 102 103 addDownloadTaskClass(DownloadNotesUrlIdTask.class); 104 addDownloadTaskClass(DownloadGeoJsonTask.class); 103 105 } 104 106 -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Check.java
r15437 r15441 96 96 check.setState(check.getState()); // to update the tooltip text 97 97 98 JPanel checkPanel = new JPanel(new GridBagLayout());99 checkPanel.add(check, GBC.std());100 98 if (icon != null) { 99 JPanel checkPanel = new JPanel(new GridBagLayout()); 100 checkPanel.add(check, GBC.std()); 101 101 JLabel label = new JLabel(locale_text, getIcon(), SwingConstants.LEFT); 102 102 label.addMouseListener(new MouseAdapter() { … … 108 108 checkPanel.add(label); 109 109 checkPanel.add(new JLabel(), GBC.eol().fill()); 110 p.add(checkPanel, GBC.eol()); // Do not fill, see #15104 111 } else { 112 p.add(check, GBC.eol()); // Do not fill, see #15104 110 113 } 111 p.add(checkPanel, GBC.eol()); // Do not fill, see #15104112 114 return true; 113 115 }
Note:
See TracChangeset
for help on using the changeset viewer.