preserve author/descriptin meta data

This commit is contained in:
Marc Zinnschlag 2013-09-24 17:17:01 +02:00
parent 830530bd06
commit 96fd1c35bf
4 changed files with 41 additions and 3 deletions

View file

@ -2158,6 +2158,12 @@ CSMDoc::Document::Document (const std::vector<boost::filesystem::path>& files,
load (files.begin(), end, !new_);
}
if (new_)
{
mData.setDescription ("");
mData.setAuthor ("");
}
addOptionalGmsts();
addOptionalGlobals();