Skip to content

Commit b5efac3

Browse files
committed
Fix missing hover style for Ignore Error breaks button
1 parent 0c51ede commit b5efac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/debugger/script_editor_debugger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,10 +2011,10 @@ ScriptEditorDebugger::ScriptEditorDebugger() {
20112011
skip_breakpoints->connect(SceneStringName(pressed), callable_mp(this, &ScriptEditorDebugger::debug_skip_breakpoints));
20122012

20132013
ignore_error_breaks = memnew(Button);
2014-
ignore_error_breaks->set_flat(true);
2014+
ignore_error_breaks->set_theme_type_variation(SceneStringName(FlatButton));
20152015
ignore_error_breaks->set_tooltip_text(TTR("Ignore Error Breaks"));
20162016
hbc->add_child(ignore_error_breaks);
2017-
ignore_error_breaks->connect("pressed", callable_mp(this, &ScriptEditorDebugger::debug_ignore_error_breaks));
2017+
ignore_error_breaks->connect(SceneStringName(pressed), callable_mp(this, &ScriptEditorDebugger::debug_ignore_error_breaks));
20182018

20192019
hbc->add_child(memnew(VSeparator));
20202020

0 commit comments

Comments
 (0)