diff --git a/share/axis/tcl/axis.tcl b/share/axis/tcl/axis.tcl index 93ead7d050..2e77f0d14b 100644 --- a/share/axis/tcl/axis.tcl +++ b/share/axis/tcl/axis.tcl @@ -1299,7 +1299,7 @@ NoteBook ${pane_top}.right \ after 1 after idle show_all_tabs ${pane_top}.right set _tabs_preview [${pane_top}.right insert end preview -text [_ "Preview"]] -set _tabs_numbers [${pane_top}.right insert end numbers -text [_ "DRO"]] +set _tabs_numbers [${pane_top}.right insert end numbers -text [_ "DRO"] -raisecmd redraw_dro] $_tabs_preview configure -borderwidth 1 $_tabs_numbers configure -borderwidth 1 diff --git a/src/emc/usr_intf/axis/scripts/axis.py b/src/emc/usr_intf/axis/scripts/axis.py index ac447015c2..44726c8c1b 100755 --- a/src/emc/usr_intf/axis/scripts/axis.py +++ b/src/emc/usr_intf/axis/scripts/axis.py @@ -2004,6 +2004,9 @@ class TclCommands(nf.TclCommands): def redraw_soon(event=None): o.redraw_soon() + def redraw_dro(event=None): + o.redraw_dro() + def to_internal_linear_unit(a, b=None): if b is not None: b = float(b) return to_internal_linear_unit(float(a), b)