You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
Fix Can't reopen signals panel immediately after connecting a signal
This commit is contained in:
@@ -2856,6 +2856,10 @@ void ScriptEditor::_add_callback(Object *p_obj, const String &p_function, const
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
// Move back to the previously edited node to reselect it in the Inspector and the NodeDock.
|
||||
// We assume that the previous item is the node on which the callbacks were added.
|
||||
EditorNode::get_singleton()->edit_previous_item();
|
||||
}
|
||||
|
||||
void ScriptEditor::_save_editor_state(ScriptEditorBase *p_editor) {
|
||||
|
||||
Reference in New Issue
Block a user