Index: extedit_dad.c =================================================================== --- extedit_dad.c (revision 22288) +++ extedit_dad.c (revision 22289) @@ -42,13 +42,10 @@ { PCB_DAD_SET_VALUE(ee->dlg_hid_ctx, ee->wmethod, int_value, ee->mthi); PCB_DAD_SET_VALUE(ee->dlg_hid_ctx, ee->wfmt, int_value, methods[ee->mthi].fmt); - PCB_DAD_SET_VALUE(ee->dlg_hid_ctx, ee->wcmd, str_value, methods[ee->mthi].command); + PCB_DAD_SET_VALUE(ee->dlg_hid_ctx, ee->wcmd, str_value, pcb_strdup(methods[ee->mthi].command)); /* we have only one format, so disable the combo box for selecting it */ pcb_gui->attr_dlg_widget_state(ee->dlg_hid_ctx, ee->wfmt, pcb_false); - - /* default value string crashes for some reason, disable it for now */ - pcb_gui->attr_dlg_widget_state(ee->dlg_hid_ctx, ee->wcmd, pcb_false); } static void ee_chg_method(void *hid_ctx, void *caller_data, pcb_hid_attribute_t *attr)