Skip to content
Snippets Groups Projects
Commit dd92db3f authored by Zach Hilman's avatar Zach Hilman
Browse files

configure_input: Properly update UI components on removal of player

parent e58c951a
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,8 @@ void ConfigureInput::updateUIEnabled() {
bool hit_disabled = false;
for (auto* player : players_controller) {
player->setDisabled(hit_disabled);
if (hit_disabled)
player->setCurrentIndex(0);
if (!hit_disabled && player->currentIndex() == 0)
hit_disabled = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment