diff options
| author | bobzel <zzzman@gmail.com> | 2023-09-06 12:39:37 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-09-06 12:39:37 -0400 |
| commit | 3deba59a1923a6d95c9ba506aad05288911eab42 (patch) | |
| tree | 7ef36af59b1f93f5436c2fb1c884b0b90e1ed8f0 | |
| parent | 27c599053dcbee95bd916ca59b19c518bd736948 (diff) | |
fixed undo of link anchor toggle
| -rw-r--r-- | src/client/views/PropertiesDocBacklinksSelector.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/PropertiesDocBacklinksSelector.tsx b/src/client/views/PropertiesDocBacklinksSelector.tsx index 2d1e46361..b1e99c3f5 100644 --- a/src/client/views/PropertiesDocBacklinksSelector.tsx +++ b/src/client/views/PropertiesDocBacklinksSelector.tsx @@ -7,6 +7,7 @@ import { DocumentType } from '../documents/DocumentTypes'; import { LinkManager } from '../util/LinkManager'; import { SelectionManager } from '../util/SelectionManager'; import { SettingsManager } from '../util/SettingsManager'; +import { CollectionDockingView } from './collections/CollectionDockingView'; import { LinkMenu } from './linking/LinkMenu'; import { OpenWhere, OpenWhereMod } from './nodes/DocumentView'; import './PropertiesDocBacklinksSelector.scss'; @@ -28,6 +29,7 @@ export class PropertiesDocBacklinksSelector extends React.Component<PropertiesDo if (otherdoc) { otherdoc.hidden = false; this.props.addDocTab(Doc.IsDataProto(otherdoc) ? Doc.MakeDelegate(otherdoc) : otherdoc, OpenWhere.toggleRight); + CollectionDockingView.Instance?.endUndoBatch(); } }); |
