Fix CSS update loop
Otherwise setting/unsetting the parrent may cause on an invisible widget may cause the style to be continuously updated.
Fixes: #2849 (closed)
Otherwise setting/unsetting the parrent may cause on an invisible widget may cause the style to be continuously updated.
Fixes: #2849 (closed)