Is there a way to know when any changes are made to the diagram?
I want to know this so I can prompt the user if he/she attempts to exit the application without saving if the diagram has been altered so work is not accidentally lost.
I'm a bit new to the framework and have been looking through the docs and source but have not yet found a way of doing this.
May have solved this by emitting events from shapes.
Now a new problem - the mere creation of shapes seems to take ages. Removing sfUNDOREDO speeds things up. Might be me - the demos don't seem to suffer from this even those that support undo/redo.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.