[qet] [4190] Bug fix : qetelementeditor : "warning and not saving function" : for elements havent got input tagged 'label',

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


Revision: 4190
Author:   scorpio810
Date:     2015-09-01 22:09:42 +0200 (Tue, 01 Sep 2015)
Log Message:
-----------
Bug fix : qetelementeditor : "warning and not saving function" : for elements havent got input tagged 'label', 
now except for element report, because report don't use 'label' tag

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

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2015-09-01 20:07:17 UTC (rev 4189)
+++ trunk/sources/editor/qetelementeditor.cpp	2015-09-01 20:09:42 UTC (rev 4190)
@@ -680,8 +680,8 @@
 		/// Check master, slave, simple and report element
 	if(ce_scene -> elementType() == "master" ||
 	   ce_scene -> elementType() == "slave"  ||
-	   ce_scene -> elementType() == "simple" ||
-	   ce_scene -> elementType().contains("report"))
+	   ce_scene -> elementType() == "simple")
+
 	{
 		bool wrng = true;
 		foreach (CustomElementPart *cep, ce_scene->primitives())


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