On Fri, Feb 20, 2009 at 1:23 AM, Sébastien MARQUE <seb.mar...@free.fr> wrote: > > Indeed, it seems like the dialog-apply command changes every single > property linked to a checkbox causing the listeners set on these > properties to be triggered even if the property hadn't be changed by the > user. The result is that all instruments or systems which have a > listener are triggered, and obviously fail all instruments and systems > in my case.
You can use a listener that only fires when the value really changes. See the docs for the setlistener function. -- Csaba/Jester ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel