mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user