summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2021-09-25 20:35:19 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-09-26 02:41:11 -0300
commit1363fe389264c702876b15af636bd9482916bb3f (patch)
tree409ee4d6ce44eada094ae3f0b6942fa7f5792b9d
parent9013771b53cdbc6451f2645f3618ad59d90a2fb1 (diff)
Fix error when opening multiple debugger sessions
-rw-r--r--editor/debugger/script_editor_debugger.cpp2
1 files changed, 1 insertions, 1 deletions
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) {