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 directory search bugs from last PR #46

Merged

Conversation

molsonkiko
Copy link
Contributor

  1. Fix bug (introduced by previous commit)
    where searching the top directory only led to
    an uncaught error.
  2. Do not trigger a directory search when opening
    a file in the same directory as the previously open file.
  3. Require that the button to allow subdirectory search
    can only be checked if and only if
    the button to allow top directory search is also checked.
  4. Always trigger a directory refresh when directory search
    when settings are changed.

1. Fix bug (introduced by previous commit)
   where searching the top directory only led to
   an uncaught error.
2. Do not trigger a directory search when opening
    a file in the same directory as the previously open file.
3. Require that the button to allow subdirectory search
    can only be checked if and only if
    the button to allow top directory search is also checked.
4. Always trigger a directory refresh when directory search
    when settings are changed.
previous commit forgot to include delay
also had to cast 10_000_00 to long because
    with large delays we were getting int overflow.
@young-developer young-developer merged commit 705f557 into young-developer:master Jun 9, 2023
@molsonkiko molsonkiko deleted the fix_directory_search branch June 10, 2023 23:20
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