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:
Hugo Locurcio
2021-07-07 01:21:32 +02:00
committed by GitHub
+4
View File
@@ -2155,6 +2155,10 @@ void Tree::_range_click_timeout() {
}
}
if (!root) {
return;
}
click_handled = false;
Ref<InputEventMouseButton> mb;
mb.instantiate();