fixed broken content file list in case of newly created addons

This commit is contained in:
Marc Zinnschlag 2014-09-15 09:51:39 +02:00
parent 6882f069b2
commit 3d8216ee17

View file

@ -189,7 +189,7 @@ void CS::Editor::createNewFile (const boost::filesystem::path &savePath)
files.push_back(path.toUtf8().constData());
}
files.push_back(mFileDialog.filename().toUtf8().constData());
files.push_back (savePath);
mDocumentManager.addDocument (files, savePath, true);