Index: trunk/src/pcb-menu-default.lht =================================================================== --- trunk/src/pcb-menu-default.lht (revision 28923) +++ trunk/src/pcb-menu-default.lht (revision 28924) @@ -797,7 +797,7 @@ ha:group { li:submenu { ha:Group name & type... = { action=EditGroup(@) } - ha:Group properties... = { action=Propedit(layergrp) } + ha:Group properties... = { action={Propedit(layergrp:editgroup)} } ha:Grouping... (layer preferences) = { action=Preferences("layers") } - ha:Duplicate group = { action={ DupGroup(@) } } Index: trunk/src_plugins/propedit/propedit.c =================================================================== --- trunk/src_plugins/propedit/propedit.c (revision 28923) +++ trunk/src_plugins/propedit/propedit.c (revision 28924) @@ -42,6 +42,7 @@ #include "crosshair.h" #include "compat_misc.h" +extern pcb_layergrp_id_t pcb_actd_EditGroup_gid; int prop_scope_add(pcb_propedit_t *pe, const char *cmd, int quiet) { @@ -94,12 +95,16 @@ } else if (strncmp(cmd, "layergrp", 8) == 0) { if (cmd[8] == ':') { - id = pcb_layergrp_str2id(pe->pcb, cmd+9); - if (id < 0) { - if (!quiet) - pcb_message(PCB_MSG_ERROR, "Invalid layergrp ID '%s'\n", cmd+9); - return FGW_ERR_ARG_CONV; + if (strcmp(cmd+9, "editgroup") != 0) { + id = pcb_layergrp_str2id(pe->pcb, cmd+9); + if (id < 0) { + if (!quiet) + pcb_message(PCB_MSG_ERROR, "Invalid layergrp ID '%s'\n", cmd+9); + return FGW_ERR_ARG_CONV; + } } + else + id = pcb_actd_EditGroup_gid; vtl0_append(&pe->layergrps, id); } else {