fix crash when closing top-level split. Closes T256.

This commit is contained in:
Boris Faure 2013-08-28 17:11:48 +02:00
parent 6be1029413
commit 441f2ef39e
1 changed files with 2 additions and 0 deletions

View File

@ -493,6 +493,8 @@ _split_merge(Split *spp, Split *sp, const char *slot)
spp->s2->parent = spp;
spp->horizontal = sp->horizontal;
o = sp->panes;
elm_object_part_content_unset(sp->parent->panes,
(strcmp(slot, PANES_TOP)) ? PANES_TOP : PANES_BOTTOM);
if (spp->parent)
{
elm_object_part_content_unset(spp->parent->panes, slot);