Commit 052ab934 authored by Matthias Möller's avatar Matthias Möller
Browse files

- use function "BaseObject::setFromFilename" instead of using methods seperated

refs #670

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14540 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8630f2d9
......@@ -178,8 +178,7 @@ bool FileSPHPlugin::saveObject(int _id, QString _filename)
settings.endGroup();
obj->setName(_filename.section(OpenFlipper::Options::dirSeparator(),-1));
obj->setPath(_filename.section(OpenFlipper::Options::dirSeparator(),0,-2) );
obj->setFromFileName(_filename);
}
}
......
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