Fixup of 1de0459dc
Limit manual updating of tree view item to "document in loading state" because calling setStereotypeCmd() triggers tree view item update by default if document is not in loading state.
CCBUG:336012