diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-01-20 12:37:20 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-01-20 12:37:20 -0500 |
commit | 948ef17e8bd086ab29663a1c1d0431248fb711e9 (patch) | |
tree | 870c5a86df102ce100c74e9c4dd900d5a0f40ac0 /gr-qtgui/lib/const_sink_c_impl.cc | |
parent | 216bb6a8121234f155b7f2d82b4bdb2747c25514 (diff) |
qtgui: added method to disable right-click menu.
Disabled menu in plotter tools to not conflict with states between C++ and Python domains.
Diffstat (limited to 'gr-qtgui/lib/const_sink_c_impl.cc')
-rw-r--r-- | gr-qtgui/lib/const_sink_c_impl.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc index 808312e8a7..a23b92ecce 100644 --- a/gr-qtgui/lib/const_sink_c_impl.cc +++ b/gr-qtgui/lib/const_sink_c_impl.cc @@ -229,6 +229,12 @@ namespace gr { } void + const_sink_c_impl::enable_menu(bool en) + { + d_main_gui->enableMenu(en); + } + + void const_sink_c_impl::reset() { d_index = 0; |