Skip to content

Commit

Permalink
Stop searching when EntryRegistry is reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Dec 24, 2022
1 parent dd758e2 commit a12a5d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class EntryListSearchManager {
}, EntryStack::normalize);

private static List<EntryStack<?>> getAllEntriesContextually(SearchFilter filter) {
if (EntryRegistry.getInstance().isReloading()) return List.of();
if (ConfigObject.getInstance().isHidingEntryPanelIfIdle() && filter.getFilter().isEmpty()) {
return List.of();
}
Expand Down

0 comments on commit a12a5d7

Please sign in to comment.