Two open scripts will overwrite eachother after any edit/save
Description
~~While editing scripts, re-ordering can result in effectively erasing script contents~~
Edit: Actually, it seems like making any change to a script while another script is open results in the contents being saved to all open scripts.. π
Steps to Reproduce
- Open 2 scripts
- Edit contents of a script
- other script will be overwritten
~~1. Create two scripts: Script A and Script B
2. Add some unique text or code to each script (e.g. "This is A" and "This is B", or actual code, doesn't matter)
3. Do not close the script editor panels
4. Open Scripts panel and re-order Script A and Script B
6. Observe that the contents of the open script editors are currently correct
7. Edit and save one of the scripts (e.g. Script B)
9. Now go to the other script's tab (e.g. Script A) and observe that its contents have been overwritten
10. cry that your script has been completely erased~~
https://github.com/user-attachments/assets/fde959e8-d4a9-455a-a286-177f11f1fd7d
Current Behavior
re-ordered script is eradicated
Expected Behavior
please don't destroy our scripts π
Environment
- App version: 2.20.0
- Windows/Linux version: Windows 11 Homeβ10.0.26100 Build 26100
@addison-adler Thank you for reporting this issue, I can reproduce and will fix it in this week