mirror of
https://github.com/godotengine/godot
synced 2024-10-06 15:25:00 +00:00
Merge pull request #29036 from swarnimarun/vs-history-save
Fix history state setup in VisualScript
This commit is contained in:
commit
d400a7bddd
|
@ -2041,7 +2041,7 @@ void VisualScriptEditor::set_edit_state(const Variant &p_state) {
|
|||
|
||||
Dictionary d = p_state;
|
||||
if (d.has("function")) {
|
||||
edited_func = p_state;
|
||||
edited_func = d["function"];
|
||||
selected = edited_func;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue