Changeset 12458 in osm for applications/editors/josm/plugins/wmsplugin/src
- Timestamp:
- 2008-12-21T23:42:25+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
r12335 r12458 14 14 15 15 import javax.swing.AbstractAction; 16 import javax.swing.AbstractButton; 16 17 import javax.swing.JMenu; 17 18 import javax.swing.JMenuBar; … … 212 213 setEnabledAll(true); 213 214 Main.map.toolBarActions.addSeparator(); 214 Main.map.toolBarActions.add(new IconToggleButton 215 (new WMSAdjustAction(Main.map))); 215 IconToggleButton tb = new IconToggleButton 216 (new WMSAdjustAction(Main.map)); 217 Main.map.toolBarActions.add(tb); 218 Main.map.toolGroup.add((AbstractButton)tb); 216 219 } else if (oldFrame!=null && newFrame==null ) { 217 220 setEnabledAll(false);
Note:
See TracChangeset
for help on using the changeset viewer.