From 175db0fbc1232f2fc3cd5a180dcae66dbe8868aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 13 Jan 2016 21:16:00 +0100 Subject: [PATCH] Keep parent when calling Screen.set_group issue5235 review19741002 --- src/screen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen.js b/src/screen.js index 0d23a99977..d06d1b0f37 100644 --- a/src/screen.js +++ b/src/screen.js @@ -767,6 +767,7 @@ group.on_write = group.on_write.filter(function(e, i, a) { return i == a.indexOf(e); }); + group.parent = this.group.parent; } group.screens.push(this); this.tree_states_done = [];