X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FWorkspaceIO.cxx;h=f811a5e9b6f57640e0ac9bdf196266e818df2e07;hb=1bf710541f1f708f9000096a8d516596bf009d6d;hp=dcf6c6852f17af9a26f509d494d1bf852ebcac0a;hpb=0d184ef7119178103610ad9e9fab83760cb89e06;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/WorkspaceIO.cxx b/lib/cpPlugins/Interface/WorkspaceIO.cxx index dcf6c68..f811a5e 100644 --- a/lib/cpPlugins/Interface/WorkspaceIO.cxx +++ b/lib/cpPlugins/Interface/WorkspaceIO.cxx @@ -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( ) );