mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
67 stars 20 forks source link

Ask the user to save the project before closing the main window. #51

Closed tinevez closed 2 years ago

tinevez commented 6 years ago

capture

tpietzsch commented 6 years ago

This needs more work:

The "Save before close?" dialog should only appear if

tpietzsch commented 6 years ago

I'll add functionality to the UndoRecorder to set "save points" and query wether you are currently at one. Then there will be no need to listen for graph changes. (which anyway gives only an incomplete picture, because it doesn't capture for example changing the tag set structure).

Follow-up request: Add a similar dialog when loading a project or creating a new one: "Current project is not saved. Do you want to..." bla bla.

tinevez commented 6 years ago

Follow-up request: Add a similar dialog when loading a project or creating a new one: "Current project is not saved. Do you want to..." bla bla.

See my comment on #53

tinevez commented 2 years ago

Superseded by https://github.com/mastodon-sc/mastodon/pull/168