X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.cpp;h=f634b4ae532966be2c08ae793bdb88df0aa3bb88;hp=2837e57fae3332e84ade1bfe8a50dd28c4acab12;hb=e4e5a958507a2c4e2643f21e3c735021da97e577;hpb=ba804ad012807c3c689bf696e9885d1dff559e7b diff --git a/pv/views/trace/view.cpp b/pv/views/trace/view.cpp index 2837e57..f634b4a 100644 --- a/pv/views/trace/view.cpp +++ b/pv/views/trace/view.cpp @@ -246,6 +246,7 @@ void View::reset_view_state() suppress_zoom_to_fit_after_acq_ = false; show_cursors_ = false; + cursor_state_changed(show_cursors_); flags_.clear(); // Update the zoom state @@ -815,6 +816,7 @@ bool View::cursors_shown() const void View::show_cursors(bool show) { show_cursors_ = show; + cursor_state_changed(show); ruler_->update(); viewport_->update(); }