Revision 21153

View differences:

trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/profiles/gui/ZProfileOptionsPanel.java
111 111
		super();
112 112
		this.mapControl = mainPanel.getMapControl();
113 113
		this.mainPanel= mainPanel;
114
		this.fLayer = mapControl.getMapContext().getLayers().getLayer(0);;
114
		this.fLayer = mainPanel.getFlayer();
115 115
		BorderLayout bd= new BorderLayout();
116 116
		listener= new ZProfileOptionsListener(this);
117 117
		bd.setHgap(1);

Also available in: Unified diff