* BugFix: Correct an error where the GUI editor cannot be opened when going from GUI editor to mission editor (or any other editor).

This commit is contained in:
Robert MacGregor 2021-09-10 20:10:53 -04:00
parent 6487e2eede
commit f6f204a13a

View file

@ -121,6 +121,8 @@ function GuiEditor::close(%this)
if(Canvas.getContent() != GuiEditorGui.getId())
return;
$InGuiEditor = false;
GuiGroup.add(GuiEditorGui);
Canvas.setContent(GuiEditor.lastContent);