src/ldDocument.cpp

changeset 954
7feaa1a3c438
parent 953
8349552ee5e9
child 957
429c7ed3cc54
--- a/src/ldDocument.cpp	Sat Aug 29 18:45:48 2015 +0300
+++ b/src/ldDocument.cpp	Sat Aug 29 19:18:40 2015 +0300
@@ -54,6 +54,7 @@
 // =============================================================================
 //
 LDDocument::LDDocument() :
+	m_history (new History),
 	m_isImplicit (true),
 	m_flags (0),
 	m_verticesOutdated (true),
@@ -62,7 +63,6 @@
 {
 	setSavePosition (-1);
 	setTabIndex (-1);
-	m_history = new History;
 	m_history->setDocument (this);
 	m_needsReCache = true;
 	g_allDocuments << this;

mercurial