mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#849 Added Import Summary Case command
This commit is contained in:
@@ -1456,14 +1456,14 @@ void RiuMainWindow::restoreTreeViewState()
|
||||
{
|
||||
if (m_projectTreeView)
|
||||
{
|
||||
QString stateString = RiaApplication::instance()->project()->treeViewState;
|
||||
QString stateString = RiaApplication::instance()->project()->mainWindowTreeViewState;
|
||||
if (!stateString.isEmpty())
|
||||
{
|
||||
m_projectTreeView->treeView()->collapseAll();
|
||||
RimTreeViewStateSerializer::applyTreeViewStateFromString(m_projectTreeView->treeView(), stateString);
|
||||
}
|
||||
|
||||
QString currentIndexString = RiaApplication::instance()->project()->currentModelIndexPath;
|
||||
QString currentIndexString = RiaApplication::instance()->project()->mainWindowCurrentModelIndexPath;
|
||||
if (!currentIndexString.isEmpty())
|
||||
{
|
||||
QModelIndex mi = RimTreeViewStateSerializer::getModelIndexFromString(m_projectTreeView->treeView()->model(), currentIndexString);
|
||||
|
||||
Reference in New Issue
Block a user