]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL10418 - "entry" and "reference entry" column contains swapped values
authorasl <asl@opencascade.com>
Tue, 1 Nov 2005 09:25:57 +0000 (09:25 +0000)
committerasl <asl@opencascade.com>
Tue, 1 Nov 2005 09:25:57 +0000 (09:25 +0000)
src/SalomeApp/SalomeApp_DataObject.cxx

index 0e9866fa9dd4069f66d13f3fa72e3541d2b99e8b..253537ae6a2964699a31b727ba76565a311768c0 100644 (file)
@@ -161,14 +161,14 @@ QString SalomeApp_DataObject::text( const int id ) const
       txt = value( referencedObject() );
     break;
   case CT_Entry:
-    txt = entry( referencedObject() );
+    txt = entry( object() );
     break;
   case CT_IOR:
     txt = ior( referencedObject() );
     break;
   case CT_RefEntry:
     if ( isReference() )
-      txt = entry( object() );
+      txt = entry( referencedObject() );
     break;
   }
   return txt;