- do not add Object attribute, regression added in a47d33b5e
- do not attacht Object and ViewObject attribute, regression added in 175e7f2069
- this deactivates the icons in tree view
- thus this only is a workaround
========================
fixes#4087
Missing "break" in loop after finding the extension was causing segfault because of null pointer access, as the unique pointer had been std:move-d when found and was thus no longer valid.