Salome HOME
IPAL9192: string resources added for SPlot2d_SetupPlot2dDlg
[modules/gui.git] / src / SalomeApp / SalomeApp_TypeFilter.cxx
index 59fdff028d9da51722be1d63ead54a961b357111..13d4a730db47e1d9cf7c9cedf14384cef5885e30 100644 (file)
@@ -29,7 +29,7 @@ bool SalomeApp_TypeFilter::isOk( const SUIT_DataOwner* sOwner ) const
       if (aSObj)
        {
          _PTR(SComponent) aComponent(aSObj->GetFatherComponent());
-         if ( aComponent && (aComponent->ComponentDataType() == myKind) )
+         if ( aComponent && (aComponent->ComponentDataType() == myKind.latin1()) )
            return true;
        }
     }