{
_PTR(SComponent) aComponent ( it->Value() );
+#ifndef WITH_SALOMEDS_OBSERVER
+ // with GUI observers this check is not needed anymore
if ( aComponent->ComponentDataType() == study->getVisualComponentName().toLatin1().constData() )
continue; // skip the magic "Interface Applicative" component
-
+#endif
if ( !objectBrowser() )
getWindow( WT_ObjectBrowser );
const bool isAutoUpdate = objectBrowser()->autoUpdate();
*/
bool SalomeApp_DataModelSync::isCorrect( const kerPtr& so ) const
{
+#ifdef WITH_SALOMEDS_OBSERVER
+ // with GUI observers this function is not needed anymore
+ return true;
+#endif
kerPtr refObj;
QString name = so->GetName().c_str();
_PTR( GenericAttribute ) anAttr;