From bcec05a7cba19a4bfa2211aea949a67a69b0fff6 Mon Sep 17 00:00:00 2001 From: tetektoza Date: Tue, 3 Oct 2023 21:30:03 +0200 Subject: [PATCH] GMLCompiler: Add enum initializer for button_style property This patch adds missing enum initializer for button_style property in enum initializer generator in GML compiler. --- Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp index dc7c7b6ded..02812376f3 100644 --- a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp @@ -179,6 +179,7 @@ static ErrorOr> generate_enum_initializer_for(StringView proper { "button_style"sv, "Gfx::ButtonStyle"sv }, { "opportunistic_resizee"sv, "GUI::Splitter::OpportunisticResizee"sv }, { "checkbox_position"sv, "GUI::CheckBox::CheckBoxPosition"sv }, + { "button_style"sv, "Gfx::ButtonStyle"sv } }; auto const& enum_type_name = enum_properties.get(property_name);