Luncher: Make sure that there is a valid drop before object on dnd.

This commit is contained in:
Stephen okra Houston 2016-11-08 10:55:57 -06:00
parent 1cbba1232c
commit 77a0316be9
1 changed files with 2 additions and 1 deletions

View File

@ -1612,7 +1612,8 @@ _bar_drop_move(void *data, const char *type EINA_UNUSED, void *event_data)
inst->drop_before = ic;
}
elm_box_unpack(inst->o_icon_con, inst->place_holder);
elm_box_pack_before(inst->o_icon_con, inst->place_holder, inst->drop_before->o_layout);
if (inst->drop_before)
elm_box_pack_before(inst->o_icon_con, inst->place_holder, inst->drop_before->o_layout);
}
static void