]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/WorkspaceIO.cxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / WorkspaceIO.cxx
index dcf6c6852f17af9a26f509d494d1bf852ebcac0a..f811a5e9b6f57640e0ac9bdf196266e818df2e07 100644 (file)
@@ -117,7 +117,7 @@ SaveWorkspace( const std::string& fname ) const
     {
       TiXmlElement* e = new TiXmlElement( "filter" );
       e->SetAttribute( "class", filter->GetClassName( ) );
-      e->SetAttribute( "name", filter->GetName( ) );
+      e->SetAttribute( "name", vIt->first.c_str( ) );
       e->SetAttribute( "ViewX", filter->GetViewX( ) );
       e->SetAttribute( "ViewY", filter->GetViewY( ) );