From: Joel Holdsworth Date: Mon, 8 Dec 2014 23:47:02 +0000 (+0000) Subject: View: Added CursorPair to time_items list X-Git-Tag: pulseview-0.3.0~372 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5a3e53f6609ade7eb232ebe46ecb9e66fac09086;p=pulseview.git View: Added CursorPair to time_items list This solves bug #514 --- diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 3df87e54..083d02da 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -198,6 +198,7 @@ const Viewport* View::viewport() const vector< shared_ptr > View::time_items() const { vector< shared_ptr > items; + items.push_back(cursors_); items.push_back(cursors_->first()); items.push_back(cursors_->second()); return items;