Commit ce93e5d2 authored by Jan Hambrecht's avatar Jan Hambrecht

fix visibility check


svn path=/trunk/koffice/; revision=811904
parent 8d111b65
......@@ -545,6 +545,9 @@ void KoShape::setVisible(bool on) {
bool KoShape::isVisible( bool recursive ) const {
if( ! recursive )
return d->visible;
if( recursive && ! d->visible )
return false;
KoShapeContainer * parentShape = parent();
while( parentShape )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment