From 298da236198a89557c13fcc71500d4a445a0f436 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 10 Jun 2013 12:37:09 -0400 Subject: save and restore Generic MIDI threshold/smoothing value --- libs/surfaces/generic_midi/gmcp_gui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/surfaces/generic_midi/gmcp_gui.cc') 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 popdowns; -- cgit v1.2.3