summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PortMenu.cpp')
-rw-r--r--src/gui/PortMenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp
index a2dc57de..b779fe25 100644
--- a/src/gui/PortMenu.cpp
+++ b/src/gui/PortMenu.cpp
@@ -69,6 +69,10 @@ PortMenu::init(App& app, SharedPtr<const PortModel> port, bool patch_port)
const bool is_control = app.can_control(port.get())
&& port->is_numeric();
+ _reset_range_menuitem->set_visible(true);
+ _set_max_menuitem->set_visible(true);
+ _set_min_menuitem->set_visible(true);
+
_reset_range_menuitem->set_sensitive(is_control);
_set_max_menuitem->set_sensitive(is_control);
_set_min_menuitem->set_sensitive(is_control);