Commit 6a18533a authored by Tobias WEBER's avatar Tobias WEBER
Browse files

small bugfix: forgotten signal

parent f41c4779
......@@ -46,6 +46,8 @@ plugins/**
tmp/**
!tmp/.dir
build/**
tools/structfact/build/**
tools/pol/build/**
*.pyc
# Temporary lexer/parser files
......
......@@ -181,10 +181,10 @@ StructFactDlg::StructFactDlg(QWidget* pParent) : QDialog{pParent},
// signals
connect(pTabBtnAdd, &QToolButton::clicked, this, [this]()
{
this->AddTabItem(-1);
});
for(auto* edit : std::vector<QLineEdit*>{{ m_editA, m_editB, m_editC, m_editAlpha, m_editBeta, m_editGamma }})
connect(edit, &QLineEdit::textEdited, this, [this]() { this->Calc(); });
connect(pTabBtnAdd, &QToolButton::clicked, this, [this]() { this->AddTabItem(-1); });
connect(pTabBtnDel, &QToolButton::clicked, this, &StructFactDlg::DelTabItem);
connect(pTabBtnUp, &QToolButton::clicked, this, &StructFactDlg::MoveTabItemUp);
connect(pTabBtnDown, &QToolButton::clicked, this, &StructFactDlg::MoveTabItemDown);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment