From e7f700fd3dab6e1ffbd21aa3dcae9f3c1c8091bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 11 Jul 2016 18:36:37 +0200 Subject: [PATCH] Set group parent from previous screen only if new group does not have one xxx2Many widgets could set a group with a different parent then the previous one of the screen. This group should keep its parent because it comes from the value of the field. issue5672 review21121002 --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 85f5fa3055..1109571767 100644 --- a/src/screen.js +++ b/src/screen.js @@ -863,7 +863,7 @@ group.on_write = group.on_write.filter(function(e, i, a) { return i == a.indexOf(e); }); - if (this.group.parent) { + if (this.group.parent && !group.parent) { group.parent = this.group.parent; } }