diff options
Diffstat (limited to 'src/gui/PortMenu.cpp')
-rw-r--r-- | src/gui/PortMenu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index 3b8cc741..7eeef5b1 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -83,6 +83,10 @@ PortMenu::init(App& app, SPtr<const PortModel> port, bool is_graph_port) _learn_menuitem->set_visible(is_control); _unlearn_menuitem->set_visible(is_control); + if (!is_control && is_on_graph) { + _separator_menuitem->hide(); + } + _enable_signal = true; } |