mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2025-12-31 21:48:42 +03:00
Fix history state setup in VisualScript
(cherry picked from commit 7b6296d324)
This commit is contained in:
committed by
Rémi Verschelde
parent
82c8816986
commit
df0a675c36
@@ -2040,7 +2040,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user