Make sure your internal settings are properties and that they are listed in the +plugInKeys array. That way any modification to them will notify the document that it has changes.

I just checked this in the SimpleText example plugin so you can use that as a guide. If your property is not working it may be an issue in the KVO so please file a bug.

Troy

On Jun 30, 2008, at 9:39 AM, David Yamnitsky wrote:

Hi everyone, I've built a QCPlugIn which uses internal settings, but I've noticed that changes to the internal settings using my custom NIB in the inspector pane do not mark the document as needing to be saved. Quartz Composer doesn't allow the user to save the document unless it thinks it has been edited, so when I open a composition and change nothing but the settings on my custom plug-in, I can't save my changes without manipulating some other parameter, which notifies QC the document has been edited. Is there any way I can get my custom plugin to notify QC when an internal setting has been changed?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to