Avoid using a nullptr root in Tree._range_click_timeout().
Fixes #46648
(cherry picked from commit f17f3f8830
)
This commit is contained in:
parent
4fec6d4697
commit
e6f420aabf
1 changed files with 4 additions and 0 deletions
|
@ -1580,6 +1580,10 @@ void Tree::_range_click_timeout() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!root) {
|
||||
return;
|
||||
}
|
||||
|
||||
click_handled = false;
|
||||
Ref<InputEventMouseButton> mb;
|
||||
mb.instance();
|
||||
|
|
Loading…
Reference in a new issue