From f06d4411f4cbb72f3eb60fe8ad6de353e878940e Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 30 Nov 2022 15:03:43 +0100 Subject: [PATCH] Fix compile. --- editor/project_settings_editor.cpp | 3 +-- editor/project_settings_editor.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index a580a6b15..7d4ac6e3d 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -76,6 +76,7 @@ #include "scene/gui/texture_rect.h" #include "scene/gui/tool_button.h" #include "scene/gui/tree.h" +#include "scene/gui/check_button.h" #include "scene/main/node.h" #include "scene/main/timer.h" @@ -148,7 +149,6 @@ void ProjectSettingsEditor::_notification(int p_what) { search_box->set_right_icon(get_theme_icon("Search", "EditorIcons")); search_box->set_clear_button_enabled(true); - action_add_error->add_theme_color_override("font_color", get_theme_color("error_color", "Editor")); translation_list->connect("button_pressed", this, "_translation_delete"); _update_actions(); @@ -198,7 +198,6 @@ void ProjectSettingsEditor::_notification(int p_what) { search_button->set_icon(get_theme_icon("Search", "EditorIcons")); search_box->set_right_icon(get_theme_icon("Search", "EditorIcons")); search_box->set_clear_button_enabled(true); - action_add_error->add_theme_color_override("font_color", get_theme_color("error_color", "Editor")); popup_add->set_item_icon(popup_add->get_item_index(INPUT_KEY_PHYSICAL), get_theme_icon("KeyboardPhysical", "EditorIcons")); popup_add->set_item_icon(popup_add->get_item_index(INPUT_KEY), get_theme_icon("Keyboard", "EditorIcons")); popup_add->set_item_icon(popup_add->get_item_index(INPUT_JOY_BUTTON), get_theme_icon("JoyButton", "EditorIcons")); diff --git a/editor/project_settings_editor.h b/editor/project_settings_editor.h index c45cd2fe9..0766c1f29 100644 --- a/editor/project_settings_editor.h +++ b/editor/project_settings_editor.h @@ -61,6 +61,7 @@ class ToolButton; class Tree; class TreeItem; class UndoRedo; +class CheckButton; class ProjectSettingsEditor : public AcceptDialog { GDCLASS(ProjectSettingsEditor, AcceptDialog);