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

Can not use BACK key #72

Closed
anxuae opened this issue Aug 15, 2019 · 4 comments
Closed

Can not use BACK key #72

anxuae opened this issue Aug 15, 2019 · 4 comments
Labels

Comments

@anxuae
Copy link
Contributor

anxuae commented Aug 15, 2019

Hello @ppizarror , I made some tests on the last version 2.0.3, it seems that the BACK don't go to previous menu anymore. This is the same behavior with examples.

Maybe something new to configure in the menu?

@ppizarror
Copy link
Owner

ppizarror commented Aug 15, 2019

Hi! I had to implement many changes in 2.0.3 to add multiple menu compatibility #71
Anyway, I found how to fix this:

Change self._actual.prev to self._top._prev in:

elif event.key == _ctrl.KEY_BACK and self._actual._prev is not None:

With this solution the bug is fixed.
If you find any other error please create a new issue as always.
Greetings from 🆑

@ppizarror
Copy link
Owner

ppizarror commented Aug 15, 2019

Commited the changes to the repo: 25bee64

Also added unittest of this feature: e1f2daf

If there's no more bugs I'll release the new version today (2.0.4)

@anxuae
Copy link
Contributor Author

anxuae commented Aug 16, 2019

Thanks, this solves the issue

@ppizarror
Copy link
Owner

Version 2.0.4 uploaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants