Skip to content
Snippets Groups Projects
Commit df5568f4 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Fixed bug in SimulationView with non-multilayers appearing in sample selector widget.

parent 74a9c2af
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ void SimulationDataSelectorWidget::updateViewElements() ...@@ -127,7 +127,7 @@ void SimulationDataSelectorWidget::updateViewElements()
{ {
Q_ASSERT(m_applicationModels); Q_ASSERT(m_applicationModels);
updateSelection(m_instrumentCombo, m_applicationModels->instrumentModel()->topItemNames()); updateSelection(m_instrumentCombo, m_applicationModels->instrumentModel()->topItemNames());
updateSelection(m_sampleCombo, m_applicationModels->sampleModel()->topItemNames()); updateSelection(m_sampleCombo, m_applicationModels->sampleModel()->topItemNames(Constants::MultiLayerType));
updateSelection(m_realDataCombo, m_applicationModels->realDataModel()->topItemNames(), true); updateSelection(m_realDataCombo, m_applicationModels->realDataModel()->topItemNames(), true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment