From 37513d9981aa4f50fe850667c78d5b817d038b9f Mon Sep 17 00:00:00 2001 From: Mathias Chouet <mathias.chouet@irstea.fr> Date: Thu, 11 Jun 2020 15:01:00 +0200 Subject: [PATCH] PreBarrage: enhance node selection on schema --- src/app/components/pb-schema/pb-schema.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/pb-schema/pb-schema.component.ts b/src/app/components/pb-schema/pb-schema.component.ts index 8b25d56a4..cd7ad1415 100644 --- a/src/app/components/pb-schema/pb-schema.component.ts +++ b/src/app/components/pb-schema/pb-schema.component.ts @@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni const wall = this._selectedItem as PbCloison; const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval); this.model.addChild(wallCopy); - this.unselect(); // @TODO select new wall ? + this.unselect(); this.refresh(); this.selectNodeOnSchema(wallCopy); } -- GitLab