Changeset 3831 in osm for applications/editors/josm
- Timestamp:
- 2007-07-29T01:02:24+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/navigator/src/at/dallermassl/josm/plugin/navigator/NavigatorPlugin.java
r3766 r3831 11 11 import java.util.List; 12 12 13 import javax.swing.AbstractButton; 13 14 import javax.swing.JMenu; 14 15 import javax.swing.JMenuBar; … … 65 66 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 66 67 if(newFrame != null) { 67 newFrame.toolBarActions.add( 68 new IconToggleButton(new NavigatorModeAction(newFrame, navigatorModel, navigatorLayer))); 68 IconToggleButton button = new IconToggleButton(new NavigatorModeAction(newFrame, navigatorModel, navigatorLayer)); 69 newFrame.toolBarActions.add(button); 70 newFrame.toolGroup.add(button); 69 71 } 70 72 }
Note:
See TracChangeset
for help on using the changeset viewer.