]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix bug for "light" modules: when running in "full" mode, componentDataType() functio...
authorvsr <vsr@opencascade.com>
Mon, 22 Dec 2014 08:07:40 +0000 (11:07 +0300)
committervsr <vsr@opencascade.com>
Mon, 22 Dec 2014 08:07:40 +0000 (11:07 +0300)
src/LightApp/LightApp_DataObject.cxx

index d747f898bf0b9d2ce2e632b6b7fc1b942e07350b..c7e0ac4a6a9603367f0026227961f09d86e44ec5 100644 (file)
@@ -393,7 +393,7 @@ QString LightApp_DataObject::componentDataType() const
 {
   if ( myCompDataType.isEmpty() ) {
     SUIT_DataObject* aCompObj = componentObject();
-    LightApp_ModuleObject* anObj = dynamic_cast<LightApp_ModuleObject*>( aCompObj );
+    CAM_ModuleObject* anObj = dynamic_cast<CAM_ModuleObject*>( aCompObj );
     if ( anObj ) {
       CAM_DataModel* aModel = anObj->dataModel();
       if ( aModel ) {