Revision 23692
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameScaleBar.java | ||
---|---|---|
993 | 993 |
IFFrame[] fframes = layout.getLayoutContext().getAllFFrames(); |
994 | 994 |
|
995 | 995 |
for (int i = 0; i < fframes.length; i++) { |
996 |
if (fframeview.getName().equals(fframes[i].getName())) {
|
|
996 |
if (fframeview.equals(fframes[i])) {
|
|
997 | 997 |
xml.putProperty("index", i); |
998 |
break; |
|
998 | 999 |
} |
999 | 1000 |
} |
1000 | 1001 |
} |
Also available in: Unified diff