summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-09-17 20:49:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-09-17 20:49:05 (GMT)
commitf32b173243cf46f8a9cf84b610139b3d4bd20803 (patch)
treea91c4bf2371a2ded8bd8605f979cb89664567b61 /src/gui
parent944fc0a5638bfe77fc65e514fbdd945d8a652635 (diff)
Fixed a bug when splitting panels.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@263 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c
index dc6a89f..b101f4b 100644
--- a/src/gui/panels/panel.c
+++ b/src/gui/panels/panel.c
@@ -467,6 +467,8 @@ static void attach_panel_node_to_paned(panel_node *parent, panel_node *node, boo
else
parent->second = node;
+ node->parent = parent;
+
/* Raccordement graphique */
widget = GET_PANEL_NODE_WIDGET(node);