On 17.06.2015 22:52, jump-pilot-...@lists.sourceforge.net wrote:
> @@ -667,7 +668,11 @@
>       public void fireSelectionChanged() {
>               for (Iterator i = listeners.iterator(); i.hasNext();) {
>                       LayerViewPanelListener l = (LayerViewPanelListener) 
> i.next();
> -                     l.selectionChanged();
> +            // [mmichaud 2015-06-17] Do not propagate selectionChange if the 
> change
> +            // comes from AttributeTablePanel
> +            if (getWorkBenchFrame().getActiveInternalFrame() instanceof 
> ViewAttributesPlugIn.ViewAttributesFrame) continue;
> +            if (getWorkBenchFrame().getActiveInternalFrame() instanceof 
> InfoFrame) continue;
> +            l.selectionChanged();
>               }
>       }

hey Mike,

sorry, but that's unclean. there may be other listeners (apart form 
Info-,Attrib.Frame) that will need but do not get notified this way.

..ede

------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to