Skip to content

Commit

Permalink
Update AudioEditor.cpp (#3115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malkierian committed Aug 13, 2023
1 parent 535157c commit 05dde45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soh/soh/Enhancements/audio/AudioEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ void Draw_SfxTab(const std::string& tabId, SeqType type) {
LUS::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
UpdateCurrentBGM(defaultValue, type);
}

if (currentValue == value) {
ImGui::SetItemDefaultFocus();
}
}

ImGui::EndCombo();
Expand Down

0 comments on commit 05dde45

Please sign in to comment.