hundredrabbits / Left

Distractionless Writing Tool

Home Page:http://hundredrabbits.itch.io/left

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quit & Close File do nothing on a file with unsaved changes

frozenpandaman opened this issue · comments

commented

Ideally, it should display a popup asking "There are unsaved changes in filename.txt. Are you sure you want to close it?" or something to that effect. Right now it does nothing. When there are no modifications compared to the last-saved version of the file, then it works as expected.

(Maybe this is intentional, because Force Close is also an option… but this behavior is unexpected and different than that of all other applications I use.)

commented

I don't seem to be able to Quit (Cmd+Q) either. It seems like this is what's broken: #50 (comment)

I'll have a look :)

Hey 👋

Is it related in any way with #113?

I think it was yeah, the error was stopping the save from occurring!

@neauoire nice. It's fixed 🎉