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