From e3b4e3054bf761fd18994a9d06beba0166075be5 Mon Sep 17 00:00:00 2001 From: dfochi Date: Thu, 4 Aug 2016 12:52:17 +0000 Subject: [PATCH] Autonumbering Context does not reset when typing in title field git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4603 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/projectconfigpages.cpp | 3 --- sources/ui/selectautonumw.cpp | 2 -- 2 files changed, 5 deletions(-) diff --git a/sources/projectconfigpages.cpp b/sources/projectconfigpages.cpp index 14cfbd806..3bf708625 100644 --- a/sources/projectconfigpages.cpp +++ b/sources/projectconfigpages.cpp @@ -424,21 +424,18 @@ void ProjectAutoNumConfigPage::buildConnections() { //Conductor Tab connect (m_context_cb_conductor, SIGNAL (currentTextChanged(QString)), m_saw_conductor, SLOT (applyEnableOnContextChanged(QString))); - connect (m_context_cb_conductor, SIGNAL (currentTextChanged(QString)), this, SLOT (updateContext_conductor(QString))); connect (m_context_cb_conductor, SIGNAL (currentIndexChanged(QString)), this, SLOT (updateContext_conductor(QString))); connect (m_saw_conductor, SIGNAL (applyPressed()), this, SLOT (saveContext_conductor())); connect (m_remove_pb_conductor, SIGNAL (clicked()), this, SLOT (removeContext_conductor())); //Element Tab connect (m_context_cb_element, SIGNAL (currentTextChanged(QString)), m_saw_element, SLOT(applyEnableOnContextChanged(QString))); - connect (m_context_cb_element, SIGNAL (currentTextChanged(QString)), this, SLOT (updateContext_element(QString))); connect (m_context_cb_element, SIGNAL (currentIndexChanged(QString)), this, SLOT (updateContext_element(QString))); connect (m_saw_element, SIGNAL (applyPressed()), this, SLOT (saveContext_element())); connect (m_remove_pb_element, SIGNAL (clicked()), this, SLOT (removeContext_element())); //Folio Tab connect (m_context_cb_folio, SIGNAL (currentTextChanged(QString)), m_saw_folio, SLOT(applyEnableOnContextChanged(QString))); - connect (m_context_cb_folio, SIGNAL (currentTextChanged(QString)), this, SLOT (updateContext_folio(QString))); connect (m_context_cb_folio, SIGNAL (currentIndexChanged(QString)), this, SLOT (updateContext_folio(QString))); connect (m_saw_folio, SIGNAL (applyPressed()), this, SLOT (saveContext_folio())); connect (m_remove_pb_folio, SIGNAL (clicked()), this, SLOT (removeContext_folio())); diff --git a/sources/ui/selectautonumw.cpp b/sources/ui/selectautonumw.cpp index 34b01057c..2bd01f0bc 100644 --- a/sources/ui/selectautonumw.cpp +++ b/sources/ui/selectautonumw.cpp @@ -35,7 +35,6 @@ SelectAutonumW::SelectAutonumW(QWidget *parent) : ui->setupUi(this); if (this->parentWidget() -> objectName()=="ElementTab"){ m_eaw = new ElementAutonumberingW(); - connect(m_eaw,SIGNAL(textChanged(QString)),this,SLOT(formula_textChanged(QString))); ui->scrollAreaWidgetContents->layout()->addWidget(m_eaw); } setContext(NumerotationContext()); @@ -47,7 +46,6 @@ SelectAutonumW::SelectAutonumW(const NumerotationContext &context, QWidget *pare { if (this->parentWidget() -> objectName()=="ElementTab"){ m_eaw = new ElementAutonumberingW(); - connect(m_eaw,SIGNAL(textChanged(QString)),this,SLOT(formula_textChanged(QString))); ui->scrollAreaWidgetContents->layout()->addWidget(m_eaw); } ui->setupUi(this);