mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make sure file paths are resolved before initAfterRead() is called
This commit is contained in:
@@ -87,6 +87,7 @@ void PdmDocument::readFile( QIODevice* xmlFile )
|
||||
// after everything is read from file
|
||||
|
||||
resolveReferencesRecursively();
|
||||
beforeInitAfterRead();
|
||||
initAfterReadRecursively();
|
||||
}
|
||||
|
||||
@@ -153,4 +154,11 @@ void PdmDocument::updateUiIconStateRecursively( PdmObjectHandle* object )
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void PdmDocument::beforeInitAfterRead()
|
||||
{
|
||||
}
|
||||
|
||||
} // End of namespace caf
|
||||
|
||||
@@ -61,6 +61,9 @@ public:
|
||||
void writeFile( QIODevice* device );
|
||||
|
||||
static void updateUiIconStateRecursively( PdmObjectHandle* root );
|
||||
|
||||
protected:
|
||||
virtual void beforeInitAfterRead();
|
||||
};
|
||||
|
||||
} // End of namespace caf
|
||||
|
||||
Reference in New Issue
Block a user