Skip to content

fix: fixed IOR exception in CreateObjectConverter window#2

Merged
hasanbayatme merged 1 commit into
BayatGames:mainfrom
fitbie:main
Dec 10, 2024
Merged

fix: fixed IOR exception in CreateObjectConverter window#2
hasanbayatme merged 1 commit into
BayatGames:mainfrom
fitbie:main

Conversation

@fitbie
Copy link
Copy Markdown
Contributor

@fitbie fitbie commented Dec 10, 2024

When searching for types inside "CreateObjectConverter" window, in case there is 0 pages (e.g. user makes typo) - IndexOutOf Range exc been throwed and window shuts dead. This happend because of typesPageIndex field being assigned with typesPageCount - 1 value. So, when there is 0 pages - we are getting -1 index. I added 0 check, and just in case - extra 0 check inside for cycle.

@hasanbayatme hasanbayatme merged commit 36082c6 into BayatGames:main Dec 10, 2024
@hasanbayatme
Copy link
Copy Markdown
Member

Thank you!

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