summaryrefslogtreecommitdiffstats
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-06-15 11:01:45 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-06-16 16:49:37 +0300
commitb5c96df2771113cd9c5cb24b07b199a08a8ad917 (patch)
tree7dc5b5f47f3cefde77306c48619919060f576ea8 /editor/import_dock.cpp
parentef6511fbb4b280ca81f18f89d89be7a7b6c706ec (diff)
downloadredot-engine-b5c96df2771113cd9c5cb24b07b199a08a8ad917.tar.gz
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp2
1 files changed, 1 insertions, 1 deletions
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);