Verified Commit fdf79acf authored by Tobias WEBER's avatar Tobias WEBER
Browse files

set initial instrument and target positions in config space dialog

parent ffb75a4e
......@@ -1384,6 +1384,15 @@ PathsTool::PathsTool(QWidget* pParent) : QMainWindow{pParent}
// path available signal
this->connect(this->m_dlgConfigSpace.get(), &ConfigSpaceDlg::PathAvailable,
this, &PathsTool::ExternalPathAvailable);
// set instrument and target positions
this->m_dlgConfigSpace->UpdateInstrument(
m_instrspace.GetInstrument(),
m_tascalc.GetScatteringSenses());
this->m_dlgConfigSpace->UpdateTarget(
m_targetMonoScatteringAngle,
m_targetSampleScatteringAngle,
m_tascalc.GetScatteringSenses());
}
m_dlgConfigSpace->show();
......
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