[Uml-devel] [Bug 72019] save autosave file to a more obvious place

Daniel Calviño Sánchez danxuliu at gmail.com
Sun Mar 19 01:41:14 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=72019         




------- Additional Comments From danxuliu gmail com  2006-03-18 16:49 -------
Created an attachment (id=15186)
 --> (http://bugs.kde.org/attachment.cgi?id=15186&action=view)
Little behaviour modification in autosave

Right now, if the autosave happens before the user has saved the file, the file
is saved to ~/autosave.xmi and next savings happen to that file. The "Save
as..." need to be used to save the file to a explicit location.

With this little patch, if the autosave happens before the user has saved the
file, the autosave file is still ~/autosave.xmi, but it's no longer considered
as if the user has saved it explicitly. So when the user calls "Save" action, a
file to be saved to is asked.

I think it's a more logical behaviour.

I've also changed the setModified( true ) because that method adds a new action
to the undo stack, and autosaving doesn't need an undo action.




More information about the umbrello-devel mailing list