mirror of
https://github.com/godotengine/godot
synced 2024-10-06 16:28:34 +00:00
Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075
This commit is contained in:
parent
ed55fb538a
commit
9c7e647124
|
@ -1249,6 +1249,9 @@ void ScriptEditorDebugger::stop() {
|
|||
EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree();
|
||||
EditorNode::get_singleton()->get_scene_tree_dock()->hide_tab_buttons();
|
||||
|
||||
Node *node = editor->get_scene_tree_dock()->get_tree_editor()->get_selected();
|
||||
editor->push_item(node);
|
||||
|
||||
if (hide_on_stop) {
|
||||
if (is_visible_in_tree())
|
||||
EditorNode::get_singleton()->hide_bottom_panel();
|
||||
|
|
Loading…
Reference in a new issue