diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-05 16:09:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 16:09:38 +0100 |
commit | 6e23ab4fa20f766ef9e1ec64be88675db6c708af (patch) | |
tree | f4d1a82e5d4b2599379e1cecf849d6312799774c | |
parent | 8fd354575395f51bbad322ce3beb290d88230f41 (diff) | |
parent | a4af94068a6223b4d0a5f5f8d7921742812bcfb9 (diff) |
Merge pull request #44936 from akien-mga/toolstrip
Tooltips: Fix unassigned strip_edges() call on text
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index c3404078db..4baec0f995 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1538,7 +1538,7 @@ void Viewport::_gui_show_tooltip() { gui.tooltip_control, gui.tooltip_control->get_global_transform().xform_inv(gui.last_mouse_pos), &tooltip_owner); - tooltip_text.strip_edges(); + tooltip_text = tooltip_text.strip_edges(); if (tooltip_text.is_empty()) { return; // Nothing to show. } |