1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Desktop: Fix hang when selecting tag when multiple notes are selected (also for search) (#2372)

* Fix hang when tag clicked while multiple notes selected.

* Fix hang when search changed while multiple notes selected from previous search.
This commit is contained in:
mic704b
2020-01-27 04:46:19 +11:00
committed by Laurent Cozic
parent 0bb1484b2d
commit 83c1c20ce3

View File

@ -548,6 +548,7 @@ const reducer = (state = defaultState, action) => {
} else {
newState.notesParentType = 'Tag';
}
newState.selectedNoteIds = [];
break;
case 'TAG_UPDATE_ONE':
@ -675,6 +676,7 @@ const reducer = (state = defaultState, action) => {
} else {
newState.notesParentType = 'Search';
}
newState.selectedNoteIds = [];
break;
case 'APP_STATE_SET':