From b5c96df2771113cd9c5cb24b07b199a08a8ad917 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Wed, 15 Jun 2022 11:01:45 +0300 Subject: Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer. --- editor/import_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/import_dock.cpp') diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index 9eb2706d8a..6bb71ff491 100644 --- a/editor/import_dock.cpp +++ b/editor/import_dock.cpp @@ -685,7 +685,7 @@ ImportDock::ImportDock() { select_a_resource = memnew(Label); select_a_resource->set_text(TTR("Select a resource file in the filesystem or in the inspector to adjust import settings.")); - select_a_resource->set_autowrap_mode(Label::AUTOWRAP_WORD); + select_a_resource->set_autowrap_mode(TextServer::AUTOWRAP_WORD); select_a_resource->set_custom_minimum_size(Size2(100 * EDSCALE, 0)); select_a_resource->set_v_size_flags(SIZE_EXPAND_FILL); select_a_resource->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER); -- cgit v1.2.3