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


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4190 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2015-09-01 20:09:42 +00:00
parent 093c9b2eb0
commit 0580886c7e

View File

@@ -680,8 +680,8 @@ bool QETElementEditor::checkElement()
/// 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())