]> sigrok.org Git - pulseview.git/commitdiff
View: Added CursorPair to time_items list
authorJoel Holdsworth <redacted>
Mon, 8 Dec 2014 23:47:02 +0000 (23:47 +0000)
committerUwe Hermann <redacted>
Wed, 10 Dec 2014 17:06:16 +0000 (18:06 +0100)
This solves bug #514

pv/view/view.cpp

index 3df87e540b986b0e08b1242c9139950f65f12a5b..083d02dad9c6fa6043ae3c906363165a2c8294c0 100644 (file)
@@ -198,6 +198,7 @@ const Viewport* View::viewport() const
 vector< shared_ptr<TimeItem> > View::time_items() const
 {
        vector< shared_ptr<TimeItem> > items;
+       items.push_back(cursors_);
        items.push_back(cursors_->first());
        items.push_back(cursors_->second());
        return items;