check selectedItem before return.

Authored by knauss on Jun 28 2016, 6:05 PM.



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

Diff Detail

rKP kdepim
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

knauss updated this revision to Diff 418.Jun 28 2016, 6:05 PM
knauss retitled this revision from to check selectedItem before return..
knauss updated this object.
knauss edited the test plan for this revision. (Show Details)
knauss added a reviewer: mollekopf.
mollekopf accepted this revision.Jun 29 2016, 6:22 PM
mollekopf edited edge metadata.
This revision is now accepted and ready to land.Jun 29 2016, 6:22 PM
Closed by commit rKP7f3788ea6b19: check selectedItem before return. (authored by Sandro Knauß <>). · Explain WhyJul 1 2016, 1:26 PM
This revision was automatically updated to reflect the committed changes.