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

remove unnecessary MenuList setMode #573

Merged
merged 3 commits into from
Jun 2, 2021
Merged

Conversation

iCollin
Copy link
Collaborator

@iCollin iCollin commented May 25, 2021

Implements/Fixes #317

This PR is ready for review.

Testing Plan

Reproduction steps from issue, manual tests with display Mode

Summary

Remove unnecessary setMode from MenuList, the childView buttons update by displayMode without this function and setMode can cause a console error when the children are being updated.

CLA

Copy link
Contributor

@jacobkeeler jacobkeeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can still reproduce the issue on this branch

@iCollin iCollin merged commit e902342 into develop Jun 2, 2021
@iCollin iCollin deleted the fix/display_mode_console_error branch June 2, 2021 16:21
ValeriiMalkov pushed a commit to LuxoftSDL/sdl_hmi that referenced this pull request Jul 16, 2021
* remove unnecessary MenuList setMode

* Revert "remove unnecessary MenuList setMode"

This reverts commit 2d43636.

* fix console error with scrollable message change mode and add setMode call to scrollableMessage
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