Skip to content
Snippets Groups Projects
Commit d37b2280 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

no ext field in GUI parameter tree

parent 806af108
No related branches found
No related tags found
1 merge request!1705Not allow users to set external field, magnetization in fronting media and z-magnetization in layers
...@@ -104,8 +104,10 @@ void ParameterTreeBuilder::addSample() ...@@ -104,8 +104,10 @@ void ParameterTreeBuilder::addSample()
{ {
auto* label = new ParameterLabelItem("Sample", parameterContainerItem()->parameterTreeRoot()); auto* label = new ParameterLabelItem("Sample", parameterContainerItem()->parameterTreeRoot());
addParameterItem(label, m_jobItem->sampleItem()->crossCorrLength()); addParameterItem(label, m_jobItem->sampleItem()->crossCorrLength());
if (allowMagneticFields())
addParameterItem(label, m_jobItem->sampleItem()->externalField()); // Processing external field is not implemented yet, so temporary disable it (see issue #653)
// if (allowMagneticFields())
// addParameterItem(label, m_jobItem->sampleItem()->externalField());
int iLayer = 0; int iLayer = 0;
for (auto* layer : m_jobItem->sampleItem()->layerItems()) { for (auto* layer : m_jobItem->sampleItem()->layerItems()) {
......
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