summaryrefslogtreecommitdiff
path: root/scene/gui/button.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-15 09:25:51 +0200
committerGitHub <noreply@github.com>2022-07-15 09:25:51 +0200
commit9904a9db5a90f2f1896b6b7e1603ca2dd2745bad (patch)
tree098bff12f0a5814874f32a95914c73365abe6355 /scene/gui/button.cpp
parente5a1640cf0f7dbb408865ec3a0e31bfd0dda85ac (diff)
parentcbe3a2dcb775966662fa3213625adcfa0bbdf80c (diff)
Merge pull request #62906 from bruvzg/ts_bit_fields
Use BitField hint for the TextServer enums.
Diffstat (limited to 'scene/gui/button.cpp')
-rw-r--r--scene/gui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp
index d8de22d27c..a67f850a86 100644
--- a/scene/gui/button.cpp
+++ b/scene/gui/button.cpp
@@ -526,7 +526,7 @@ void Button::_bind_methods() {
Button::Button(const String &p_text) {
text_buf.instantiate();
- text_buf->set_flags(TextServer::BREAK_MANDATORY);
+ text_buf->set_break_flags(TextServer::BREAK_MANDATORY);
set_mouse_filter(MOUSE_FILTER_STOP);
set_text(p_text);