SMGCommunity / Whitehole-Neo

A Modern editor for Super Mario Galaxy 1 & 2
12 stars 3 forks source link

Prevent saving over BCSVs when clicking Save instead of Open. #47

Closed Syreyup closed 1 month ago

Syreyup commented 1 month ago

Basically, if you close the BCSV editor after opening a BCSV, the path to it stays filled, then when clicking Save (most likely by accident), it saves over and makes the BCSV completely blank.

This could maybe be prevented by checking if anything is open before saving, if nothings open, don't save, and maybe create a pop up describing the issue (with a "Don't show again" button ofc for preventing annoyances)