aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-09-13 15:52:59 -0400
committerbobzel <zzzman@gmail.com>2023-09-13 15:52:59 -0400
commitcfc406e52b5ddedc836d1b5342dbe5f6692917cd (patch)
treecb30db4aefd2f5a12ebbeb26d32217bee9af04d2
parent94c62a71d1fc124891115b3bc36f4a565071d3d7 (diff)
fixed undoing tab-> freeform dragging.
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index 519b7c905..8472c59db 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -118,6 +118,7 @@ export class CollectionDockingView extends CollectionSubView() {
const j = tab.header.parent.contentItems.indexOf(tab.contentItem);
if (j !== -1) {
tab.header.parent.contentItems[j].remove();
+ CollectionDockingView.Instance.endUndoBatch();
return CollectionDockingView.Instance.layoutChanged();
}
}