Merge pull request #44936 from akien-mga/toolstrip
Tooltips: Fix unassigned strip_edges() call on text
This commit is contained in:
commit
6e23ab4fa2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue