summaryrefslogtreecommitdiffstats
path: root/editor/debugger
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-11-06 16:47:36 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-11-07 15:03:17 +0100
commit7cd850b90989d032a9b4942514252eb9f607c4e7 (patch)
tree3c3a2e6692260d86b08bd5363e241e3d62bca7fa /editor/debugger
parent87318a2fb7fffeb72adca934e31915be077c3d1f (diff)
downloadredot-engine-7cd850b90989d032a9b4942514252eb9f607c4e7.tar.gz
[Debugger] Move quit shortcut configuration to the SceneDebugger
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/script_editor_debugger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index b78aad1721..52fd3416fa 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);
}