In RimProject, encode/decode into a string the currentIndex from QTreeView.

This will also make sure the active view is restored when opening a project
p4#: 21463
This commit is contained in:
Magne Sjaastad
2013-04-26 19:05:35 +02:00
parent 3806ff9baf
commit ab8dfb4aad
5 changed files with 66 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ public:
caf::PdmPointersField<RimIdenticalGridCaseGroup*> caseGroups;
caf::PdmField<RimScriptCollection*> scriptCollection;
caf::PdmField<QString> treeViewState;
caf::PdmField<QString> currentModelIndexPath;
void setScriptDirectories(const QString& scriptDirectories);