Hi
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.
Regards
Brian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
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.
regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
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.
Regards
Brian
Hi
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.
regards