This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Preview tabs shouldn't issue warning when closed after parent folder is deleted #249
Open
Description
Consider the following scenario:
- Single click a file in tree view to preview
- Look at contents of file, decide you don't need it anymore
- Right click the parent folder of that file in tree view and delete it
- Single click on another file in tree view
- Annoying alert pops up telling you the first file has changed and if you want to save the changes
I reckon that that warning should be suppressed for preview tabs. When you make changes in a preview tab, it becomes permanent, and then when you try to close it it makes sense to get a warning. However, for temporary preview tabs which you haven't changed, this warning doesn't make sense.