summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/time_sink_c_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/time_sink_c_impl.cc')
-rw-r--r--gr-qtgui/lib/time_sink_c_impl.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc
index 9f1a04c5c8..3bdf7d13d6 100644
--- a/gr-qtgui/lib/time_sink_c_impl.cc
+++ b/gr-qtgui/lib/time_sink_c_impl.cc
@@ -441,10 +441,16 @@ namespace gr {
d_main_gui->setTagMenu(which, en);
}
+ void
+ time_sink_c_impl::enable_axis_labels(bool en)
+ {
+ d_main_gui->setAxisLabels(en);
+ }
+
void
time_sink_c_impl::disable_legend()
{
- d_main_gui->disableLegend();
+ d_main_gui->disableLegend();
}
void
@@ -652,7 +658,7 @@ namespace gr {
uint64_t nr = nitems_read(n);
std::vector<gr::tag_t> tags;
- get_tags_in_range(tags, n, nr, nr + nitems + 1);
+ get_tags_in_range(tags, n, nr, nr + nitems);
for(size_t t = 0; t < tags.size(); t++) {
tags[t].offset = tags[t].offset - nr + (d_index-d_start-1);
}