Commit a9a1039c authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CHANGE] use only the filename without the path for display in the

parent c30fc398
......@@ -42,6 +42,10 @@ WQtDatasetTreeItem* WQtSubjectTreeItem::addDatasetItem( boost::shared_ptr< WModu
WQtDatasetTreeItem* ds = new WQtDatasetTreeItem( this, module );
std::string name = module->getProperties()->getValueString( "name" );
// remove the path up to the file name
name = string_utils::tokenize( name, "/" ).back();
ds->setText( 0, QString( name.c_str() ) );
return ds;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment