diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-08 13:52:51 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-08 13:52:51 +0200 |
commit | 491a437df51192f76ac19cee1ba2001365697cc4 (patch) | |
tree | ada1019b3c7351a5ca6daf38273490a6a145a79c /editor/plugins/debugger_editor_plugin.cpp | |
parent | c9f81045be9760820a1bb4898f08d2ff9784d4b7 (diff) | |
parent | 273a6eeb66ed1ff2fcc1ee3a6eaae4eedf437875 (diff) | |
download | redot-engine-491a437df51192f76ac19cee1ba2001365697cc4.tar.gz |
Merge pull request #76540 from reduz/redo-remote-filesystem
Redo how the remote filesystem works
Diffstat (limited to 'editor/plugins/debugger_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/debugger_editor_plugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/plugins/debugger_editor_plugin.cpp b/editor/plugins/debugger_editor_plugin.cpp index 7863e6d19e..aecf3d295c 100644 --- a/editor/plugins/debugger_editor_plugin.cpp +++ b/editor/plugins/debugger_editor_plugin.cpp @@ -126,8 +126,10 @@ void DebuggerEditorPlugin::_menu_option(int p_option) { if (ischecked) { file_server->stop(); + set_process(false); } else { file_server->start(); + set_process(true); } debug_menu->set_item_checked(debug_menu->get_item_index(RUN_FILE_SERVER), !ischecked); @@ -190,6 +192,10 @@ void DebuggerEditorPlugin::_notification(int p_what) { case NOTIFICATION_READY: { _update_debug_options(); } break; + + case NOTIFICATION_PROCESS: { + file_server->poll(); + } break; } } |