Index: routest.c =================================================================== --- routest.c (revision 34930) +++ routest.c (revision 34931) @@ -133,7 +133,7 @@ if (rst.sub_inited) { int n, target; - target = pcb_lookup_route_style_pen_bestfit(PCB); + target = rstdlg_lookup_route_style_pen_bestfit(PCB); for(n = 0; n < vtroutestyle_len(&PCB->RouteStyle); n++) { rnd_hid_attr_val_t hv; Index: routest_dlg.c =================================================================== --- routest_dlg.c (revision 34930) +++ routest_dlg.c (revision 34931) @@ -44,6 +44,14 @@ rstdlg_ctx_t rstdlg_ctx; +int rstdlg_lookup_route_style_pen_bestfit(pcb_board_t *pcb) +{ + if (rstdlg_ctx.active) + return rstdlg_ctx.curr; + return pcb_lookup_route_style_pen_bestfit(PCB); +} + + static void rstdlg_pcb2dlg(int rst_idx) { int n;