Index: trunk/src/object_act.c =================================================================== --- trunk/src/object_act.c (revision 8704) +++ trunk/src/object_act.c (revision 8705) @@ -1111,8 +1111,12 @@ if (new_index < 0) { if (pcb_layer_flags(PCB, old_index) & PCB_LYT_SILK) { - pcb_message(PCB_MSG_ERROR, "Can not remove silk layers\n"); - return 1; + pcb_layer_t *l = pcb_get_layer(old_index); + pcb_layer_group_t *g = pcb_get_layergrp(PCB, l->grp); + if (g->len == 1) { + pcb_message(PCB_MSG_ERROR, "Removing this layer would result in an empty top or bottom silk group, which is not possible at the moment.\n"); + return 1; + } } }