summaryrefslogtreecommitdiff
path: root/libs/surfaces/generic_midi/gmcp_gui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/generic_midi/gmcp_gui.cc')
-rw-r--r--libs/surfaces/generic_midi/gmcp_gui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/generic_midi/gmcp_gui.cc b/libs/surfaces/generic_midi/gmcp_gui.cc
index e56ea62424..6c1ee1ba3d 100644
--- a/libs/surfaces/generic_midi/gmcp_gui.cc
+++ b/libs/surfaces/generic_midi/gmcp_gui.cc
@@ -90,7 +90,7 @@ GMCPGUI::GMCPGUI (GenericMidiControlProtocol& p)
, bank_adjustment (1, 1, 100, 1, 10)
, bank_spinner (bank_adjustment)
, motorised_button ("Motorised")
- , threshold_adjustment (1, 1, 127, 1, 10)
+ , threshold_adjustment (p.threshold(), 1, 127, 1, 10)
, threshold_spinner (threshold_adjustment)
{
vector<string> popdowns;