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

GridColTitle selected_row() method call can break running application #99

Open
jerome-diver opened this issue Apr 19, 2020 · 1 comment

Comments

@jerome-diver
Copy link

jerome-diver commented Apr 19, 2020

This method have to first try to know if a selection has been made. Why ? Because if not, there is an error.
Example:
you call this method from an afterEditing form method, but if selection wasn't made, boom... crash.
And this afterEditing form method is also called when timer is out or when "OK" button was pushed...

For surround the problem, i do try/except method around, but the best should be to correct the original method. But i failed to find this method.
Could you explain me how this method has been called and where to find it ?
i used:

 rg -e "selected_row"

from your packages path place, but ripgrep doesn't find anything

@jerome-diver
Copy link
Author

i know why i can not see there... because this repo is not the last one you are using for pip install care about... so this is an old version of npyscreen....

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

No branches or pull requests

1 participant