diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-27 09:17:13 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-27 09:17:13 -0400 |
| commit | 36fd1b6b6c1ba02be08609176ed7c3e5d0e7f4c4 (patch) | |
| tree | 56f147d7aeccc3ca99e1fd1d5d26bd1a004d677e /src/client/views/collections/CollectionBaseView.tsx | |
| parent | 0320c6e850c7b2678a279b446988d0477e3b4660 (diff) | |
fixed marquee and doc decorations bugs
Diffstat (limited to 'src/client/views/collections/CollectionBaseView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionBaseView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionBaseView.tsx b/src/client/views/collections/CollectionBaseView.tsx index 6cb650770..aa8fce923 100644 --- a/src/client/views/collections/CollectionBaseView.tsx +++ b/src/client/views/collections/CollectionBaseView.tsx @@ -8,6 +8,7 @@ import { ListField } from '../../../fields/ListField'; import { NumberField } from '../../../fields/NumberField'; import { ContextMenu } from '../ContextMenu'; import { FieldViewProps } from '../nodes/FieldView'; +import { SelectionManager } from '../../util/SelectionManager'; export enum CollectionViewType { Invalid, @@ -173,6 +174,7 @@ export class CollectionBaseView extends React.Component<CollectionViewProps> { return true; } if (this.removeDocument(doc)) { + SelectionManager.DeselectAll(); return addDocument(doc); } return false; |
