mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Made adding of grid group more robust
p4#: 21236
This commit is contained in:
@@ -878,7 +878,7 @@ void RimUiTreeView::slotAddCaseGroup()
|
||||
if (myModel)
|
||||
{
|
||||
QModelIndex insertedIndex;
|
||||
myModel->addCaseGroup(currentIndex(), insertedIndex);
|
||||
myModel->addCaseGroup(insertedIndex);
|
||||
setCurrentIndex(insertedIndex);
|
||||
|
||||
setExpanded(insertedIndex, true);
|
||||
|
||||
Reference in New Issue
Block a user