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
ee6d8ac011
commit
48c2752d3b
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ namespace Mesen.GUI.Debugger
|
|||
this.Text = $"{name} - Script Window";
|
||||
txtScriptContent.Text = ResourceManager.ReadZippedResource(name);
|
||||
_originalText = txtScriptContent.Text;
|
||||
_filePath = null;
|
||||
_builtInScriptName = name;
|
||||
txtScriptContent.ClearUndo();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue