Revision: 4477 http://sourceforge.net/p/jump-pilot/code/4477 Author: edso Date: 2015-06-05 10:44:40 +0000 (Fri, 05 Jun 2015) Log Message: ----------- enable WMSLegendPlugin for _one_ selected WMSLayer only
Modified Paths: -------------- core/trunk/src/org/openjump/core/ui/plugin/wms/WMSLegendPlugIn.java Modified: core/trunk/src/org/openjump/core/ui/plugin/wms/WMSLegendPlugIn.java =================================================================== --- core/trunk/src/org/openjump/core/ui/plugin/wms/WMSLegendPlugIn.java 2015-06-05 10:25:46 UTC (rev 4476) +++ core/trunk/src/org/openjump/core/ui/plugin/wms/WMSLegendPlugIn.java 2015-06-05 10:44:40 UTC (rev 4477) @@ -172,7 +172,7 @@ return new MultiEnableCheck().add( checkFactory.createWindowWithLayerNamePanelMustBeActiveCheck()) - .add(checkFactory.createAtLeastNLayerablesMustBeSelectedCheck( + .add(checkFactory.createExactlyNLayerablesMustBeSelectedCheck( 1, WMSLayer.class)); } ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel