// Update the zoom state
calculate_tick_spacing();
+
+ // Make sure the standard bar's segment selector is in sync
+ set_segment_display_mode(segment_display_mode_);
}
Session& View::session()
segment_selectable_ = true;
- if (mode == Trace::ShowSingleSegmentOnly)
+ if (mode == Trace::ShowLastSegmentOnly)
segment_selectable_ = false;
segment_display_mode_changed(segment_selectable_);
current_segment_ = segment;
for (shared_ptr<Signal> signal : signals_)
signal->set_current_segment(current_segment_);
+ for (shared_ptr<DecodeTrace> dt : decode_traces_)
+ dt->set_current_segment(current_segment_);
viewport_->update();
break;