mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk: Set selectAsCurrentItem argument to const
This commit is contained in:
@@ -309,7 +309,7 @@ PdmChildArrayFieldHandle* PdmUiTreeViewEditor::currentChildArrayFieldHandle()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void PdmUiTreeViewEditor::selectAsCurrentItem(PdmUiItem* uiItem)
|
||||
void PdmUiTreeViewEditor::selectAsCurrentItem(const PdmUiItem* uiItem)
|
||||
{
|
||||
QModelIndex index = m_treeViewModel->findModelIndex(uiItem);
|
||||
m_treeView->setCurrentIndex(index);
|
||||
|
||||
Reference in New Issue
Block a user