summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/time_sink_f_impl.cc
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-02-21 07:33:02 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2016-02-21 07:33:02 -0800
commite34866dad21a98e901c188df7e87f37ae5502a88 (patch)
treefb5dd0f2c395b31c70e65f127ce0190ec2b90a56 /gr-qtgui/lib/time_sink_f_impl.cc
parent4aabba72f0d268174855fce97a80bd55acb1358c (diff)
parent762a08915c252e0604b466dc97d5e51b0a86562d (diff)
Merge branch 'master' into next
Conflicts: gr-utils/python/modtool/templates.py
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.cc')
-rw-r--r--gr-qtgui/lib/time_sink_f_impl.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc
index e81a9f4acc..50a86d7dff 100644
--- a/gr-qtgui/lib/time_sink_f_impl.cc
+++ b/gr-qtgui/lib/time_sink_f_impl.cc
@@ -437,6 +437,12 @@ namespace gr {
}
void
+ time_sink_f_impl::enable_axis_labels(bool en)
+ {
+ d_main_gui->setAxisLabels(en);
+ }
+
+ void
time_sink_f_impl::disable_legend()
{
d_main_gui->disableLegend();
@@ -643,7 +649,7 @@ namespace gr {
uint64_t nr = nitems_read(idx);
std::vector<gr::tag_t> tags;
- get_tags_in_range(tags, idx, nr, nr + nitems + 1);
+ get_tags_in_range(tags, idx, nr, nr + nitems);
for(size_t t = 0; t < tags.size(); t++) {
tags[t].offset = tags[t].offset - nr + (d_index-d_start-1);
}