porcupine
porcupine copied to clipboard
Deleting file from directory tree asks if you want to save, if you have unsaved changes
This is dumb and it shouldn't ask. You don't want to save if you're about to delete the whole file.
Is this because of the closing of the tab?
Yes, it somehow ends up calling FileTab.can_be_closed()
.