Bugfix for still visible images in scrolled branches release-1-12-maintained
authorinsilmaril
Tue, 09 Dec 2008 16:44:46 +0000
branchrelease-1-12-maintained
changeset 5639b806972b03
parent 55 79b0656dbe7d
child 57 d045ba89798e
Bugfix for still visible images in scrolled branches
branchobj.cpp
tex/vym.changelog
version.h
     1.1 --- a/branchobj.cpp	Thu Dec 04 13:47:47 2008 +0000
     1.2 +++ b/branchobj.cpp	Tue Dec 09 16:44:46 2008 +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();
     2.1 --- a/tex/vym.changelog	Thu Dec 04 13:47:47 2008 +0000
     2.2 +++ b/tex/vym.changelog	Tue Dec 09 16:44:46 2008 +0000
     2.3 @@ -1,3 +1,9 @@
     2.4 +-------------------------------------------------------------------
     2.5 +Mon Dec  8 20:26:41 CET 2008 - uwedr@suse.de
     2.6 +
     2.7 +- Bugfix: Images linked to a scrolled branch were not hidden, if parent
     2.8 +           branch was scrolled
     2.9 +
    2.10  -------------------------------------------------------------------
    2.11  Mon Dec  1 17:39:55 CET 2008 - uwedr@suse.de
    2.12  
     3.1 --- a/version.h	Thu Dec 04 13:47:47 2008 +0000
     3.2 +++ b/version.h	Tue Dec 09 16:44:46 2008 +0000
     3.3 @@ -4,10 +4,10 @@
     3.4  #include <QString>
     3.5  
     3.6  #define __VYM_NAME "VYM"
     3.7 -#define __VYM_VERSION "1.12.2b"
     3.8 +#define __VYM_VERSION "1.12.2c"
     3.9  #define __VYM_CODENAME "Maintenance Update "
    3.10  //#define __VYM_CODENAME "Codename: development version"
    3.11 -#define __VYM_BUILD_DATE "2008-12-04"
    3.12 +#define __VYM_BUILD_DATE "2008-12-08"
    3.13  
    3.14  
    3.15  bool checkVersion(const QString &);