summaryrefslogtreecommitdiff
path: root/gr-qtgui/apps/gr_time_plot_c
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/apps/gr_time_plot_c')
-rwxr-xr-xgr-qtgui/apps/gr_time_plot_c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/apps/gr_time_plot_c b/gr-qtgui/apps/gr_time_plot_c
index 858bbce240..2f27623e54 100755
--- a/gr-qtgui/apps/gr_time_plot_c
+++ b/gr-qtgui/apps/gr_time_plot_c
@@ -86,8 +86,8 @@ class my_top_block(gr.top_block):
# Set default labels based on file names
fname = f.split("/")[-1]
- self.gui_snk.set_title(n, "Re{{{0}}}".format(fname))
- self.gui_snk.set_title(n+1, "Im{{{0}}}".format(fname))
+ self.gui_snk.set_line_label(n, "Re{{{0}}}".format(fname))
+ self.gui_snk.set_line_label(n+1, "Im{{{0}}}".format(fname))
n += 2
self.connect(self.srcs[0], self.skip)