branchobj.cpp
branchrelease-1-12-maintained
changeset 64 4f305c07dd7c
parent 42 b2c0fe7cfdef
child 70 e3a85616dbc5
     1.1 --- a/branchobj.cpp	Thu Jul 17 15:11:13 2008 +0000
     1.2 +++ b/branchobj.cpp	Thu Apr 02 09:57:36 2009 +0000
     1.3 @@ -351,17 +351,18 @@
     1.4  		standardFlags->setVisibility(v);
     1.5  		LinkableMapObj::setVisibility (v);
     1.6  		
     1.7 +		int i;
     1.8 +		for (i=0; i<floatimage.size(); ++i)
     1.9 +			floatimage.at(i)->setVisibility (v);
    1.10 +		for (i=0; i<xlink.size(); ++i)	
    1.11 +			xlink.at(i)->setVisibility ();	
    1.12 +
    1.13  		// Only change childs, if I am not scrolled
    1.14  		if (!scrolled && (depth < toDepth))
    1.15  		{
    1.16  			// Now go recursivly through all childs
    1.17 -			int i;
    1.18  			for (i=0; i<branch.size(); ++i)
    1.19  				branch.at(i)->setVisibility (v,toDepth);	
    1.20 -			for (i=0; i<floatimage.size(); ++i)
    1.21 -				floatimage.at(i)->setVisibility (v);
    1.22 -			for (i=0; i<xlink.size(); ++i)	
    1.23 -				xlink.at(i)->setVisibility ();	
    1.24  		}
    1.25      } // depth <= toDepth	
    1.26  	requestReposition();