forked from enlightenment/terminology
fix crash when closing top-level split. Closes T256.
This commit is contained in:
parent
6be1029413
commit
441f2ef39e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue