[qet] qet/qet: [4997] Minor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4997
Author:   blacksun
Date:     2017-07-31 19:54:22 +0200 (Mon, 31 Jul 2017)
Log Message:
-----------
Minor

Modified Paths:
--------------
    trunk/sources/editor/qetelementeditor.cpp

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2017-07-31 17:41:48 UTC (rev 4996)
+++ trunk/sources/editor/qetelementeditor.cpp	2017-07-31 17:54:22 UTC (rev 4997)
@@ -834,6 +834,8 @@
 {
 	m_elmt_scene->clearEventInterface();
 	m_elmt_scene->clearSelection();
+	UncheckAddPrimitive();
+	
 	QDomDocument element_xml = m_elmt_scene->toXml();
 	bool writing = QET::writeXmlFile(element_xml, fn);
 	if (!writing) {
@@ -857,6 +859,7 @@
 {
 	m_elmt_scene->clearEventInterface();
 	m_elmt_scene->clearSelection();
+	UncheckAddPrimitive();
 	
 	if (!location.setXml(m_elmt_scene->toXml()))
 	{


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/