Skip to content

Sanity check before removing the ui element.#612

Merged
oldmud0 merged 2 commits intoAttorneyOnline:masterfrom
Salanto:fix-#610
Dec 24, 2021
Merged

Sanity check before removing the ui element.#612
oldmud0 merged 2 commits intoAttorneyOnline:masterfrom
Salanto:fix-#610

Conversation

@Salanto
Copy link
Contributor

@Salanto Salanto commented Dec 6, 2021

Seems to have been introduced by #389.
We instantly hide the UI element as on_sfx_dropdown_changed is called right after we pick the sfx as there is no check to prevent hiding. This PR corrects this. A simple check, if we are not on the first SFX item, should correct this.

@oldmud0 oldmud0 merged commit c57afe8 into AttorneyOnline:master Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants