From ffda1e5f8db95a7146ea3b256ef185ba94419f47 Mon Sep 17 00:00:00 2001 From: dismine Date: Mon, 19 May 2014 21:16:26 +0300 Subject: [PATCH] All pattern pieces instead All drawings. --HG-- branch : XML Editor --- src/app/dialogs/app/dialogpatternxmledit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/dialogs/app/dialogpatternxmledit.cpp b/src/app/dialogs/app/dialogpatternxmledit.cpp index f9379e910..dc1211f7a 100644 --- a/src/app/dialogs/app/dialogpatternxmledit.cpp +++ b/src/app/dialogs/app/dialogpatternxmledit.cpp @@ -29,6 +29,8 @@ #include "dialogpatternxmledit.h" #include "ui_dialogpatternxmledit.h" +#include + const short int DialogPatternXmlEdit::ChangeTypeDelete=1; const short int DialogPatternXmlEdit::ChangeTypeAdd=2; const short int DialogPatternXmlEdit::ChangeTypeModify=3; @@ -63,7 +65,7 @@ DialogPatternXmlEdit::DialogPatternXmlEdit(QWidget *parent, VPattern *xmldoc) VXMLTreeElement* standard_base = new VXMLTreeElement("Valentina", VXMLTreeElement::TypeRoot, root, false); - ui->comboBox_Base_Selection->addItem(tr("All drawings"), QVariant(0)); + ui->comboBox_Base_Selection->addItem(tr("All pattern pieces"), QVariant(0)); //rootBases[0]=(QDomNode) doc->DocumentNode; rootNode->appendRow(standard_base); @@ -579,9 +581,7 @@ void DialogPatternXmlEdit::ButtonAddSonClicked() } - QString name = QInputDialog::getText(this, tr("Node Name"), - tr("Name:"), QLineEdit::Normal, - "", &ok); + QString name = QInputDialog::getText(this, tr("Node Name"), tr("Name:"), QLineEdit::Normal, "", &ok); if (ok==false) { return;