Fix data loss in PropertyFileIncluded

This commit is contained in:
wmayer
2013-05-06 08:27:25 +02:00
parent b198248535
commit 1aff25a62d
6 changed files with 140 additions and 90 deletions

View File

@@ -894,13 +894,6 @@ bool Document::saveAs(const char* file)
if (this->FileName.getStrValue() != file) {
this->FileName.setValue(file);
this->Label.setValue(fi.fileNamePure());
//FIXME: At the moment PropertyFileIncluded doesn't work when renaming this directory.
// PropertyFileIncluded shouldn't store the transient path
#if 0
Base::Uuid id;
this->Uid.setValue(id);
#endif
}
return save();