From b5efac3156a8c2b9efcbe3e9a70c217b93a88ec7 Mon Sep 17 00:00:00 2001 From: Giganzo <158825920+Giganzo@users.noreply.github.com> Date: Sat, 16 Aug 2025 15:28:25 +0200 Subject: [PATCH] Fix missing hover style for Ignore Error breaks button --- editor/debugger/script_editor_debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index 1839a67c38..37eff1785a 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -2011,10 +2011,10 @@ ScriptEditorDebugger::ScriptEditorDebugger() { skip_breakpoints->connect(SceneStringName(pressed), callable_mp(this, &ScriptEditorDebugger::debug_skip_breakpoints)); ignore_error_breaks = memnew(Button); - ignore_error_breaks->set_flat(true); + ignore_error_breaks->set_theme_type_variation(SceneStringName(FlatButton)); ignore_error_breaks->set_tooltip_text(TTR("Ignore Error Breaks")); hbc->add_child(ignore_error_breaks); - ignore_error_breaks->connect("pressed", callable_mp(this, &ScriptEditorDebugger::debug_ignore_error_breaks)); + ignore_error_breaks->connect(SceneStringName(pressed), callable_mp(this, &ScriptEditorDebugger::debug_ignore_error_breaks)); hbc->add_child(memnew(VSeparator));