From: vsr Date: Mon, 22 Dec 2014 08:07:40 +0000 (+0300) Subject: Fix bug for "light" modules: when running in "full" mode, componentDataType() functio... X-Git-Tag: V7_5_1b1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b9532b10ce06ae086af652bbfd7c72a848e36586;p=modules%2Fgui.git Fix bug for "light" modules: when running in "full" mode, componentDataType() function does not work --- 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 ) {