Merge pull request #49890 from voxelv/fix_tree_range_click_timeout_crash_46648
Avoid using a nullptr root in Tree._range_click_timeout().
This commit is contained in:
@@ -2155,6 +2155,10 @@ void Tree::_range_click_timeout() {
|
||||
}
|
||||
}
|
||||
|
||||
if (!root) {
|
||||
return;
|
||||
}
|
||||
|
||||
click_handled = false;
|
||||
Ref<InputEventMouseButton> mb;
|
||||
mb.instantiate();
|
||||
|
||||
Reference in New Issue
Block a user