Tracker: Add some missing NULL checks.

Fixes #14685.
This commit is contained in:
Augustin Cavalier 2018-11-04 15:38:21 -05:00
parent 85f8e70013
commit 6ccc2b9f89

View File

@ -10457,6 +10457,9 @@ BPoseView::ExcludeTrashFromSelection()
void
BPoseView::_ResetStartOffset()
{
if (fColumnList == NULL || fColumnList->IsEmpty()
|| fColumnList->ItemAt(0) == NULL)
return;
fColumnList->ItemAt(0)->SetOffset(StartOffset());
}