diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-03-10 03:57:30 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-03-10 04:06:19 +0100 |
commit | 95c4ba80c5d37502dc8e195acd958540b5ad9e83 (patch) | |
tree | d9c21b7cb52261feadb5b07f0fe479f050812869 | |
parent | 478337c412f767b908820d7bb56c786bf0b909cb (diff) |
Fix "deploy with remote debug" editor option.
The line to update the option was missing (rendering it useless).
Of course the only one I didn't know how to test was broken.
-rw-r--r-- | editor/plugins/debugger_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/debugger_editor_plugin.cpp b/editor/plugins/debugger_editor_plugin.cpp index b195609fb0..c4069ac2ab 100644 --- a/editor/plugins/debugger_editor_plugin.cpp +++ b/editor/plugins/debugger_editor_plugin.cpp @@ -122,6 +122,7 @@ void DebuggerEditorPlugin::_menu_option(int p_option) { debug_menu->get_popup()->set_item_checked(debug_menu->get_popup()->get_item_index(RUN_FILE_SERVER), !ischecked); EditorSettings::get_singleton()->set_project_metadata("debug_options", "run_file_server", !ischecked); + } break; case RUN_LIVE_DEBUG: { @@ -136,6 +137,7 @@ void DebuggerEditorPlugin::_menu_option(int p_option) { bool ischecked = debug_menu->get_popup()->is_item_checked(debug_menu->get_popup()->get_item_index(RUN_DEPLOY_REMOTE_DEBUG)); debug_menu->get_popup()->set_item_checked(debug_menu->get_popup()->get_item_index(RUN_DEPLOY_REMOTE_DEBUG), !ischecked); + EditorSettings::get_singleton()->set_project_metadata("debug_options", "run_deploy_remote_debug", !ischecked); } break; case RUN_DEBUG_COLLISONS: { |