osxpeppermint / peppermint

The official bug/features tracker for Peppermint
8 stars 2 forks source link

Warn on quitting Peppermint without saving changes to new file #76

Closed rcrooks closed 9 years ago

rcrooks commented 9 years ago

It's not that hard to absent-mindedly press CMD-Q when you meant to press CMD-S :)

osxpeppermint commented 9 years ago

Well, I'm 100% sure I had fixed this one at some point, but then change something else and there we go again... What can I say...

Thanks for letting me know! :)

osxpeppermint commented 9 years ago

Fixed as of the upcoming 1.5 beta 18.

P.S. The idea so far is to check for unsaved changes and - in case we find any - throw a warning (whether the user wants to proceed or cancel the process). However, it is going to be revisited (e.g. by showing a list of modified files and letting the user decide which ones to save? by going through the unsaved files with a "Save: Yes/No" dialog?)