Index: trunk/src_plugins/propedit/propdlg.c =================================================================== --- trunk/src_plugins/propedit/propdlg.c (revision 25271) +++ trunk/src_plugins/propedit/propdlg.c (revision 25272) @@ -375,6 +375,10 @@ { propdlg_t *ctx = caller_data; pcb_hid_row_t *r = pcb_dad_tree_get_selected(&ctx->dlg[ctx->wtree]); + if (r == NULL) { + pcb_message(PCB_MSG_ERROR, "can not delete: no attribute selected\n"); + return; + } if (r->path[0] != 'a') { pcb_message(PCB_MSG_ERROR, "Only atributes (a/ subtree) can be deleted.\n"); return;