Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inv_ui: never hide entries in the selection column #64720

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

andrei8l
Copy link
Contributor

@andrei8l andrei8l commented Mar 31, 2023

Summary

None

Purpose of change

The selection column in inventory UIs sometimes hides entries but it shouldn't.

Describe the solution

Set the override so the selection column never hides entries. Also slightly change the debugmsg path to make sure it doesn't crash the game if it ever happens again.

Describe alternatives you've considered

N/A

Testing

Before: hidden item from collapsed container, revealed by filter, was selected but didn't show up in the selection column. Toggling it again leads to a debug message and crash.

before

After: the selection column sees all

after

Additional context

N/A

@github-actions github-actions bot added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. labels Mar 31, 2023
@andrei8l andrei8l force-pushed the selection-no-hide branch from b8dd272 to d115663 Compare March 31, 2023 06:29
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Mar 31, 2023
@dseguin dseguin merged commit d176ab8 into CleverRaven:master Mar 31, 2023
@andrei8l andrei8l deleted the selection-no-hide branch March 31, 2023 13:20
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segfault crash upon picking up items
2 participants