Skip to content
Snippets Groups Projects
Commit dc9c4ffd authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Mikhail Svechnikov
Browse files

ProjectDocument: add warning

parent c11142ee
No related branches found
No related tags found
1 merge request!1360GUI: serialize only selected index for "ComboProperty"
......@@ -273,6 +273,8 @@ void ProjectDocument::onModelChanged()
void ProjectDocument::writeProject(QIODevice* device, const QString& projectDir)
{
// NOTE: The ordering of the XML elements is important in initialization
QXmlStreamWriter w(device);
w.setAutoFormatting(true);
w.writeStartDocument();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment