fixed broken content file list in case of newly created addons

deque
Marc Zinnschlag 10 years ago
parent 6882f069b2
commit 3d8216ee17

@ -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);

Loading…
Cancel
Save