]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix for bug Bug PAL9279 ( The study tree folds up itself when a father is set as...
authorsan <san@opencascade.com>
Wed, 27 Jul 2005 06:47:38 +0000 (06:47 +0000)
committersan <san@opencascade.com>
Wed, 27 Jul 2005 06:47:38 +0000 (06:47 +0000)
src/SALOMEGUI/QAD_ObjectBrowser.cxx

index 958cd0b28e2f388dcd6c140ec6f94f5cfa14b92b..0e146e053e83a1eb8e3694f1520893415546bb87 100644 (file)
@@ -752,6 +752,12 @@ void QAD_ObjectBrowser::Update( SALOMEDS::SObject_ptr SO,
                       CSOEntry, 
                       valueString);
        myListViewMap[ RefSOEntry ].append( Item );
+
+       // Opened
+       if ( RefSO->FindAttribute(anAttr, "AttributeOpened") ) {
+         anOpened = SALOMEDS::AttributeOpened::_narrow(anAttr);
+         Item->setOpen(anOpened->IsOpened());
+       }
       }
       else {
        if(MYDEBUG) MESSAGE("QAD_ObjectBrowser::Update : noname item: "<<CSO->GetID());