ImageEngine/gaffer — pull request #69 by johnhaddon (2013-03-29 01:31:39+00:00)
Title: Prompt user when exiting would lose unsaved changes.

This adds an "unsavedChanges" BoolPlug to the ScriptNode which tracks whether or not there are unsaved changes in the script. The UI uses this to prompt the user for confirmation if they close a window with unsaved changes, or if they quit while there are unsaved changes.