mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fwk: Added missing "setupBeforeSave" when copying.
This fixes #110 Copy view function resize/move grid in ResInsight
This commit is contained in:
parent
985afce261
commit
948f4d5d58
@ -87,6 +87,7 @@ public:
|
||||
for (size_t i = 0; i < sourceTypedObjects.size(); i++)
|
||||
{
|
||||
typedObjectGroup.addObject(sourceTypedObjects[i]);
|
||||
PdmDocument::setupBeforeSaveTraversal(sourceTypedObjects[i]);
|
||||
}
|
||||
|
||||
QXmlStreamWriter xmlStream(&encodedXml);
|
||||
@ -129,7 +130,6 @@ class PdmDocument: public PdmObjectGroup
|
||||
static void updateUiIconStateRecursively(PdmObject * root);
|
||||
static void initAfterReadTraversal(PdmObject * root);
|
||||
|
||||
private:
|
||||
static void setupBeforeSaveTraversal(PdmObject * root);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user