diff options
author | Ricardo Subtil <ricasubtil@gmail.com> | 2021-09-16 12:29:23 +0100 |
---|---|---|
committer | Ricardo Subtil <ricasubtil@gmail.com> | 2021-09-16 13:46:21 +0100 |
commit | 9e85c95ca2bd368d2d448f4f629bf40d5bbe776d (patch) | |
tree | 100eef8fdb3a63dc3310b31d1ea999d1ae8c5c99 /editor/debugger | |
parent | 879ce4c6e1dbc7f9ad5bdb83b90b92be4f94b7f6 (diff) |
Fix error list not being cleared
Diffstat (limited to 'editor/debugger')
-rw-r--r-- | editor/debugger/script_editor_debugger.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index 2f5bde64a9..989774e943 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -884,8 +884,7 @@ void ScriptEditorDebugger::_clear_breakpoints() { } void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) { - error_count = 0; - warning_count = 0; + _clear_errors_list(); stop(); peer = p_peer; |