paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.2,1.2.6.3


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.2,1.2.6.3
Date: Thu, 13 Jun 2002 13:26:55 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv25927

Modified Files:
      Tag: devel-1-0
        pglayout.cpp 
Log Message:
fixed a visibility bug when loading XML layouts into a widget



Index: pglayout.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pglayout.cpp,v
retrieving revision 1.2.6.2
retrieving revision 1.2.6.3
diff -C2 -r1.2.6.2 -r1.2.6.3
*** pglayout.cpp        11 Jun 2002 11:27:51 -0000      1.2.6.2
--- pglayout.cpp        13 Jun 2002 17:26:53 -0000      1.2.6.3
***************
*** 1113,1117 ****
  
                if ((XMLParser->InhTagFlags & INHTAGFLAG_HIDE) == 0)
!                       XMLParser->ParentObject->Show();
                else
                        XMLParser->ParentObject->Hide();
--- 1113,1119 ----
  
                if ((XMLParser->InhTagFlags & INHTAGFLAG_HIDE) == 0)
!                       if(XMLParser->ParentObject->GetParent() == NULL) {
!                               XMLParser->ParentObject->Show();
!                       }
                else
                        XMLParser->ParentObject->Hide();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]