1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Desktop: Fix missed highlighting when using the global search (#3717)

This commit is contained in:
Caleb John
2020-09-22 06:17:51 -06:00
committed by GitHub
parent 48c9b86d2b
commit 460a07b1a3
3 changed files with 21 additions and 9 deletions

View File

@@ -300,12 +300,10 @@ class BaseApplication {
}
}
if (highlightedWords.length) {
this.store().dispatch({
type: 'SET_HIGHLIGHTED',
words: highlightedWords,
});
}
this.store().dispatch({
type: 'SET_HIGHLIGHTED',
words: highlightedWords,
});
this.store().dispatch({
type: 'NOTE_UPDATE_ALL',