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:
@@ -303,7 +303,7 @@ void RimProject::close()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimProject::initAfterRead()
|
||||
void RimProject::beforeInitAfterRead()
|
||||
{
|
||||
this->distributePathsFromGlobalPathList();
|
||||
|
||||
@@ -360,6 +360,14 @@ void RimProject::initAfterRead()
|
||||
if ( m_subWindowsTiledPlotWindow_OBSOLETE ) m_subWindowsTileModePlotWindow = RiaDefines::WindowTileMode::DEFAULT;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimProject::initAfterRead()
|
||||
{
|
||||
// Function moved to beforeInitAfterRead() to make sure that file path objects are replaced before other initAfterRead() is called
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -196,7 +196,7 @@ public:
|
||||
std::vector<caf::FilePath*> allFilePaths() const;
|
||||
|
||||
protected:
|
||||
// Overridden methods
|
||||
void beforeInitAfterRead() override;
|
||||
void initAfterRead() override;
|
||||
void setupBeforeSave() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user