Skip to content
Snippets Groups Projects
Commit f6f4548a authored by François Grand's avatar François Grand
Browse files

fix: PAB table: copy button not working

refs #607
parent 12635d84
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!207Draft: Resolve "PAB : optimiser l'espace occupé par le tableau de la géométrie de la passe"
Pipeline #140226 passed
......@@ -969,7 +969,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
for (let i = 0; i < this.childrenToAdd; i++) {
for (const si of this.selectedItems) {
const newChild = Session.getInstance().createNub(
si.properties.clone(),
si,
si.parent
);
// copy parameter values
......@@ -982,7 +982,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
if (si instanceof ParallelStructure) {
for (const c of si.getChildren()) {
const newGrandChild = Session.getInstance().createNub(
c.properties.clone(),
c,
newChild
);
// copy children parameters values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment