From 4816317bbcd66fd6543467f714a6a1204b81f7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 17 Nov 2020 13:03:37 +0100 Subject: [PATCH] Debugger: Save options in project metadata Fixes #19542. (cherry picked from commit 090361f3c9c0be6a2586c1cdc9e86b0f537b046f) --- editor/plugins/script_editor_plugin.cpp | 46 ++++++++++++++----------- editor/plugins/script_editor_plugin.h | 4 +-- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 4d3b3914a49..b6615454cf7 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -292,8 +292,6 @@ void ScriptEditor::_breaked(bool p_breaked, bool p_can_debug) { } void ScriptEditor::_show_debugger(bool p_show) { - - //debug_menu->get_popup()->set_item_checked( debug_menu->get_popup()->get_item_index(DEBUG_SHOW), p_show); } void ScriptEditor::_script_created(Ref