index config gui: adding a custom subtree would not make it the current one so that subsequently adding/changing parameters affected the global state, not the local one (except/until it was actually clicked)
This commit is contained in:
parent
6b24c3df6b
commit
773a232f22
@ -410,7 +410,7 @@ void ConfParamDNLW::showInputDialog()
|
|||||||
m_lb->findItems(s, Qt::MatchFixedString|Qt::MatchCaseSensitive);
|
m_lb->findItems(s, Qt::MatchFixedString|Qt::MatchCaseSensitive);
|
||||||
if (m_lb->selectionMode() == QAbstractItemView::SingleSelection &&
|
if (m_lb->selectionMode() == QAbstractItemView::SingleSelection &&
|
||||||
!items.empty())
|
!items.empty())
|
||||||
(*items.begin())->setSelected(TRUE);
|
m_lb->setCurrentItem(*items.begin());
|
||||||
listToConf();
|
listToConf();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user