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

Fix Terms and Training guide skip when the screen turns off #20942

Merged
merged 1 commit into from
May 18, 2021

Conversation

maxime-desroches
Copy link
Contributor

Fixes this issue #20926

Description:
After ~30s of doing nothing, the Terms and Training guide were closed/skipped and replaced by the home screen.

The closeSettings function in window.cc was setting the current widget to the home screen without checking for anything.
Also fix the same problem when you want to review the training guide in the settings.

Let me know if something is wrong/bad with this

@pd0wm pd0wm added the bugfix label May 18, 2021
@pd0wm pd0wm linked an issue May 18, 2021 that may be closed by this pull request
@pd0wm
Copy link
Contributor

pd0wm commented May 18, 2021

LGTM!

@pd0wm pd0wm merged commit 553e7d1 into commaai:master May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terms and training guide close when screen turns off
2 participants