From b9532b10ce06ae086af652bbfd7c72a848e36586 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 22 Dec 2014 11:07:40 +0300 Subject: [PATCH] Fix bug for "light" modules: when running in "full" mode, componentDataType() function does not work --- src/LightApp/LightApp_DataObject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_DataObject.cxx b/src/LightApp/LightApp_DataObject.cxx index d747f898b..c7e0ac4a6 100644 --- a/src/LightApp/LightApp_DataObject.cxx +++ b/src/LightApp/LightApp_DataObject.cxx @@ -393,7 +393,7 @@ QString LightApp_DataObject::componentDataType() const { if ( myCompDataType.isEmpty() ) { SUIT_DataObject* aCompObj = componentObject(); - LightApp_ModuleObject* anObj = dynamic_cast( aCompObj ); + CAM_ModuleObject* anObj = dynamic_cast( aCompObj ); if ( anObj ) { CAM_DataModel* aModel = anObj->dataModel(); if ( aModel ) { -- 2.39.2