From 1363fe389264c702876b15af636bd9482916bb3f Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sat, 25 Sep 2021 20:35:19 -0300 Subject: Fix error when opening multiple debugger sessions --- editor/debugger/script_editor_debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp index ab857dc3ad..d6650c3319 100644 --- a/editor/debugger/script_editor_debugger.cpp +++ b/editor/debugger/script_editor_debugger.cpp @@ -147,7 +147,7 @@ void ScriptEditorDebugger::update_tabs() { } void ScriptEditorDebugger::clear_style() { - tabs->add_theme_style_override("panel", nullptr); + tabs->remove_theme_style_override("panel"); } void ScriptEditorDebugger::save_node(ObjectID p_id, const String &p_file) { -- cgit v1.2.3