entitry is only viewable when the classes are shown

should fix #744
Merge pull request #754 from ontohub/744-show_only_entity_tree_when_it_should

entitytree is only viewable when the classes are shown