From 264eee0094a237e379d22a430e5506f35160fb6b Mon Sep 17 00:00:00 2001 From: Vincenzo Sicurella Date: Thu, 1 Aug 2024 21:35:58 -0400 Subject: [PATCH] fix device connection request order of operations --- Source/MidiEditArea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/MidiEditArea.cpp b/Source/MidiEditArea.cpp index 796ad4e..d7f5ad6 100644 --- a/Source/MidiEditArea.cpp +++ b/Source/MidiEditArea.cpp @@ -530,13 +530,13 @@ void MidiEditArea::onOpenConnectionToDevice(juce::String dialogTitle) if (retc == 0) // Import { // TODO non getLumatoneController call - LumatoneEditorState::Controller::requestCompleteDeviceConfig(); setEditMode(EditorMode::ONLINE); + LumatoneEditorState::Controller::requestCompleteDeviceConfig(); } else if (retc == 1) // Send { - LumatoneEditorState::setCompleteConfig(*getMappingData()); setEditMode(EditorMode::ONLINE); + LumatoneEditorState::setCompleteConfig(*getMappingData()); } else if (retc == 2) // Offline {