Changeset 17210 in osm for applications/editors/josm/plugins/graphview/src/org/openstreetmap
- Timestamp:
- 2009-08-22T12:05:10+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java
r16520 r17210 67 67 } 68 68 69 private final GraphViewDialog laneDialog;70 71 69 private final GraphViewPreferences preferences; 72 70 … … 79 77 preferences = GraphViewPreferences.getInstance(); 80 78 this.preferences.addObserver(this); 81 82 laneDialog = new GraphViewDialog(this);83 79 84 80 } … … 235 231 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 236 232 if (newFrame != null) { 237 newFrame.addToggleDialog(laneDialog); 233 if (oldFrame == null) { 234 final GraphViewDialog laneDialog 235 = new GraphViewDialog(this); 236 newFrame.addToggleDialog(laneDialog); 237 } 238 238 Layer.listeners.add(this); 239 239 } else {
Note:
See TracChangeset
for help on using the changeset viewer.