HomePhorge

check selectedItem before return.

Description

check selectedItem before return.

Summary:
A Pointer can be empty if no item is selected, so we check first if the
item is valid.

Reviewers: mollekopf

Differential Revision: https://git.kolab.org/D191

Details