mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Merge pull request #61736 from KoBeWi/final_form_of_the_fix
Fix Debugger tab not updating when clearing errors
This commit is contained in:
commit
ac878ed9b8
3 changed files with 41 additions and 34 deletions
|
|
@ -1465,6 +1465,7 @@ void ScriptEditorDebugger::_clear_errors_list() {
|
|||
error_tree->clear();
|
||||
error_count = 0;
|
||||
warning_count = 0;
|
||||
emit_signal(SNAME("errors_cleared"));
|
||||
update_tabs();
|
||||
|
||||
expand_all_button->set_disabled(true);
|
||||
|
|
@ -1626,6 +1627,7 @@ void ScriptEditorDebugger::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("debug_data", PropertyInfo(Variant::STRING, "msg"), PropertyInfo(Variant::ARRAY, "data")));
|
||||
ADD_SIGNAL(MethodInfo("set_breakpoint", PropertyInfo("script"), PropertyInfo(Variant::INT, "line"), PropertyInfo(Variant::BOOL, "enabled")));
|
||||
ADD_SIGNAL(MethodInfo("clear_breakpoints"));
|
||||
ADD_SIGNAL(MethodInfo("errors_cleared"));
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::add_debugger_plugin(const Ref<Script> &p_script) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue