mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix history state setup in VisualScript
(cherry picked from commit 7155477caa)
This commit is contained in:
committed by
Rémi Verschelde
parent
665c00eb58
commit
949e1da462
@@ -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