Index: src_plugins/dialogs/dlg_library.c =================================================================== --- src_plugins/dialogs/dlg_library.c (revision 33145) +++ src_plugins/dialogs/dlg_library.c (revision 33146) @@ -613,12 +613,16 @@ pcb_fplibrary_t *l; char *oname; - if (r == NULL) + if (r == NULL) { + rnd_message(RND_MSG_ERROR, "Need to select a subtree for refresh\n"); return; + } l = r->user_data; - if ((l == NULL) || (l->parent == NULL)) + if ((l == NULL) || (l->parent == NULL)) { + rnd_message(RND_MSG_ERROR, "Selection can not be refreshed: unknown parent (please select the parent)\n", l); return; + } while((l->parent != NULL) && (l->parent->parent != NULL)) l = l->parent;