diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-10 12:12:46 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-10 12:12:46 -0600 |
commit | f3294e59e10b2d408367ea236e4d35a3590e6bfe (patch) | |
tree | bf9ca64d51f3b37d09a217babfcd0d421a2a637f /editor/debugger | |
parent | 1cad5525d60f7b1ac45dc82788cf4bd9a4ddcb1b (diff) | |
parent | c3e2e468554881c021aa2123efe295c147df3f46 (diff) | |
download | redot-engine-f3294e59e10b2d408367ea236e4d35a3590e6bfe.tar.gz |
Merge pull request #98891 from Faless/debugger/game_view_settings
[Debugger] Better settings configuration for RuntimeNodeSelect and Window quit
Diffstat (limited to 'editor/debugger')
-rw-r--r-- | editor/debugger/script_editor_debugger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index c97272a571..da59450dd0 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -1033,6 +1033,9 @@ void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) { _update_buttons_state(); emit_signal(SNAME("started")); + Array quit_keys = DebuggerMarshalls::serialize_key_shortcut(ED_GET_SHORTCUT("editor/stop_running_project")); + _put_msg("scene:setup_scene", quit_keys); + if (EditorSettings::get_singleton()->get_project_metadata("debug_options", "autostart_profiler", false)) { profiler->set_profiling(true); } |