Update AudioEditor.cpp (#3115)

This commit is contained in:
Malkierian 2023-08-13 08:40:44 -07:00 committed by GitHub
parent 535157ce00
commit 05dde45a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();