Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Show Game dock when continuing execution

kit9ab1f2eac0ab
diff --git a/editor/run/game_view_plugin.cpp b/editor/run/game_view_plugin.cpp
index 308f199f0e4..b537c13bc81 100644
--- a/editor/run/game_view_plugin.cpp
+++ b/editor/run/game_view_plugin.cpp
@@ -688,7 +688,7 @@ void GameView::_embedding_failed() {
void GameView::_embedded_process_focused() {
if (embed_on_play && !window_wrapper->get_window_enabled()) {
- game_dock->make_visible();
+ EditorDockManager::get_singleton()->force_focus_dock(game_dock);
}
}