if I test for edit->hasChangedSinceSaved() I only get false. Even if I changed the project. Do I missing something here?

How long after Edit creation are you changing things? I have a feeling there is a several second window where changes won’t be picked up to let plugins initialise themselves etc. Without this Edits always look like they’ve changed which is annoying to the user.

I called this in the MainComponent destructor. I guess, the edit doesn’t exits any more at this time. Thank you for help.

If you’ve deleted the Edit though you’d be accessing a dangling object and I’d expect it to crash?

Actually, it works now. I do the call in the closeButtonPressed() function in the mainWindow now. :+1: