mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +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:
commit
a50b535988
7 changed files with 12 additions and 21 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue