Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 20, 2023

Fixes #1248
Fixes #1210

  • Guard against null current doc
  • Disable action (insensitive button) when no docs
  • Permit search in active project when no docs open

@jeremypw jeremypw changed the title Check for null doc in action_find_global Inactivate find actions when no current doc Jan 20, 2023
@ryonakano
Copy link
Member

Thank you for working on this issue!

You might be already noticed, but with this branch we can't perform "Find in Project…" when some project open but no docs open:

VirtualBox_elementary OS 7 Daily_21_01_2023_08_50_46

@jeremypw
Copy link
Collaborator Author

@ryonakano I think the same restriction applies in master doesn't it? However, I can try and lift it here if you like.

@jeremypw
Copy link
Collaborator Author

@ryonakano Fairly simple to fix that restriction. Marking ready for review now.

@jeremypw jeremypw marked this pull request as ready for review January 21, 2023 16:36
@jeremypw jeremypw requested a review from a team January 22, 2023 12:58
@danirabbit danirabbit enabled auto-merge (squash) January 23, 2023 17:26
@danirabbit danirabbit merged commit 9e9c3ef into master Jan 23, 2023
@danirabbit danirabbit deleted the fix-findinproject-crash branch January 23, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants