[Debugger] Move quit shortcut configuration to the SceneDebugger

This commit is contained in:
Fabio Alessandrelli committed 2024-11-07 15:03:17 +01:00
1 parent 87318a2fb7
commit 7cd850b909
7 files changed
+55 -37

No files matched your search

@@ -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);
}