Debugger: Lua - Load labels when opening up the Lua window

Otherwise getLabelAddress doesn't work as expected
This commit is contained in:
Sour 2020-01-12 16:28:58 -05:00
parent e7bc57498f
commit cea50b8a60

View file

@ -50,6 +50,9 @@ namespace Mesen.GUI.Debugger
mnuBuiltInScripts
);
//Make sure labels are loaded
DebugWorkspaceManager.GetWorkspace();
DebugInfo config = ConfigManager.Config.DebugInfo;
_popupMenu = new AutocompleteMenu(txtScriptContent, this);