Debugger: Script Window - Fixed bug that caused a saved script on the disk to be overwritten with another script
This commit is contained in:
parent
4ff12ecfaa
commit
1b4440057a
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ namespace Mesen.GUI.Debugger
|
|||
this.Text = $"{name} - Script Window";
|
||||
txtScriptContent.Text = ResourceExtractor.ReadZippedResource(name);
|
||||
_originalText = txtScriptContent.Text;
|
||||
_filePath = null;
|
||||
_builtInScriptName = name;
|
||||
txtScriptContent.ClearUndo();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue