Commit 99eec4e9 authored by Marina Bertolino's avatar Marina Bertolino

Merge branch 'bugfix-1439' into develop

parents 2f51a929 a16b2375
......@@ -49,7 +49,7 @@ void QtWidgetListViewParameter::DoUpdateGUI()
{
for (unsigned int i = 0; i < m_ListViewParam->GetNbChoices(); ++i)
{
QString key = m_ListViewParam->GetChoiceKey(i).c_str();
QString key = m_ListViewParam->GetChoiceName(i).c_str();
if (key != m_ListView->item(i)->text() )
{
resetNeeded = true;
......@@ -73,7 +73,7 @@ void QtWidgetListViewParameter::DoUpdateGUI()
for (unsigned int i = 0; i < m_ListViewParam->GetNbChoices(); ++i)
{
// Add listBox items
QString key = m_ListViewParam->GetChoiceKey(i).c_str();
QString key = m_ListViewParam->GetChoiceName(i).c_str();
m_ListView->addItem( key);
}
}
......
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