Skip to content
Snippets Groups Projects
Commit 6027c6cf authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

format

parent 35f7e134
No related branches found
No related tags found
1 merge request!2698follow-up
Pipeline #153195 passed
......@@ -42,12 +42,11 @@ void LatticeTypeSelectionForm::createContent()
m_integrate_over_xi_check_box = new QCheckBox("Integrate over Xi", this);
m_integrate_over_xi_check_box->setChecked(m_interference_item->xiIntegration());
m_grid_layout->addWidget(m_integrate_over_xi_check_box, 1, m_grid_layout->columnCount());
connect(m_integrate_over_xi_check_box, &QCheckBox::stateChanged,
[this] {
interferenceItem()->setXiIntegration(m_integrate_over_xi_check_box->isChecked());
onIntegrateOverXiChanged();
emit gDoc->sampleChanged();
});
connect(m_integrate_over_xi_check_box, &QCheckBox::stateChanged, [this] {
interferenceItem()->setXiIntegration(m_integrate_over_xi_check_box->isChecked());
onIntegrateOverXiChanged();
emit gDoc->sampleChanged();
});
const int colOfXiLabel = m_grid_layout->columnCount();
GUI::Util::Layer::addMultiPropertyToGrid(m_grid_layout, m_grid_layout->columnCount(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment