Skip to content

Commit

Permalink
fix device connection request order of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Aug 2, 2024
1 parent cbb9231 commit 264eee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/MidiEditArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 264eee0

Please sign in to comment.