Make sure the ensemble file sets are relocated

Use similar logic as relocation of caf::FilePath. Not possible to reuse code, as RimTools::relocateFile checks if the candidate file is present on the file system.
This commit is contained in:
Magne Sjaastad committed 2025-05-26 11:17:53 +02:00
1 parent edc9cec0a4
commit 4e66b521f8
5 files changed
+36 -3

No files matched your search

@@ -45,6 +45,9 @@ public:
QStringList createPaths( const QString& extension ) const;
void findAndSetPathPatternAndRangeString( const QStringList& filePaths );
QString pathPattern() const;
void setPathPattern( const QString& pathPattern );
void setNameTemplate( const QString& name );
void updateName( const std::set<QString>& existingEnsembleNames );
void setUsePathKey1( bool useKey1 );
@@ -61,7 +64,6 @@ private:
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
void appendMenuItems( caf::CmdFeatureMenuBuilder& menuBuilder ) const override;
void setPathPattern( const QString& pathPattern );
void setRangeString( const QString& rangeString );
QString ensembleInfo() const;