Changeset 5931 in josm
- Timestamp:
- 2013-05-06T02:19:30+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r5912 r5931 1760 1760 1761 1761 class PresetDialog extends ExtendedDialog { 1762 public PresetDialog(Component content, String title, boolean disableApply) { 1762 public PresetDialog(Component content, String title, ImageIcon icon, boolean disableApply) { 1763 1763 super(Main.parent, 1764 1764 title, … … 1767 1767 new String[] { tr("Apply Preset"), tr("Cancel") }, 1768 1768 true); 1769 if (icon != null) 1770 setIconImage(icon.getImage()); 1769 1771 contentInsets = new Insets(10,5,0,5); 1770 1772 if (showNewRelation) { … … 1788 1790 } 1789 1791 1790 answer = new PresetDialog(p, title, (sel.size() == 0)).getValue(); 1792 answer = new PresetDialog(p, title, (ImageIcon) getValue(Action.SMALL_ICON), (sel.size() == 0)).getValue(); 1791 1793 } 1792 1794 if (!showNewRelation && answer == 2)
Note:
See TracChangeset
for help on using the changeset viewer.