diff --git a/src/qt/qt_deviceconfig.cpp b/src/qt/qt_deviceconfig.cpp index cf4161d30..9c5a6d9d2 100644 --- a/src/qt/qt_deviceconfig.cpp +++ b/src/qt/qt_deviceconfig.cpp @@ -67,7 +67,7 @@ void DeviceConfig::ConfigureDevice(const _device_* device, int instance, Setting dc.ui->formLayout->addRow(config->description, cbox); break; } - case CONFIG_MIDI: + case CONFIG_MIDI_OUT: { auto* cbox = new QComboBox(); cbox->setObjectName(config->name); diff --git a/src/win/win_devconf.c b/src/win/win_devconf.c index b27b406d9..bd740a380 100644 --- a/src/win/win_devconf.c +++ b/src/win/win_devconf.c @@ -214,7 +214,7 @@ deviceconfig_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) id += 2; break; - case CONFIG_MIDI: + case CONFIG_MIDI_OUT: val_int = config_get_int((char *) config_device.name, (char *) config->name, config->default_int); @@ -324,7 +324,7 @@ deviceconfig_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) id += 2; break; - case CONFIG_MIDI: + case CONFIG_MIDI_OUT: c = SendMessage(h, CB_GETCURSEL, 0, 0); config_set_int((char *) config_device.name, (char *) config->name, c); @@ -389,7 +389,7 @@ deviceconfig_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) id++; break; case CONFIG_SELECTION: - case CONFIG_MIDI: + case CONFIG_MIDI_OUT: case CONFIG_MIDI_IN: case CONFIG_SPINNER: id += 2; @@ -487,7 +487,7 @@ deviceconfig_inst_open(HWND hwnd, const device_t *device, int inst) break; case CONFIG_SELECTION: - case CONFIG_MIDI: + case CONFIG_MIDI_OUT: case CONFIG_MIDI_IN: case CONFIG_HEX16: case CONFIG_HEX20: