Tooltips: Fix unassigned strip_edges() call on text
Fixes #43940, was a regression from #43280.
(cherry picked from commit a4af94068a
)
This commit is contained in:
parent
c588ba0b6a
commit
08ecc9e5c4
1 changed files with 1 additions and 1 deletions
|
@ -1590,7 +1590,7 @@ void Viewport::_gui_show_tooltip() {
|
|||
gui.tooltip_control,
|
||||
gui.tooltip_control->get_global_transform().xform_inv(gui.tooltip_pos),
|
||||
&tooltip_owner);
|
||||
tooltip_text.strip_edges();
|
||||
tooltip_text = tooltip_text.strip_edges();
|
||||
if (tooltip_text.empty()) {
|
||||
return; // Nothing to show.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue