Skip to content

Commit

Permalink
Don't allow drop from linked group
Browse files Browse the repository at this point in the history
Bug 1 in issue #119
  • Loading branch information
rodlie committed Feb 23, 2024
1 parent b77c371 commit b080ac4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Boxes/containerbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ bool ContainerBox::SWT_dropInto(const int index, const QMimeData * const data) {
if(box == this) continue;
if(isAncestor(box)) continue;
}
if (const auto box = enve_cast<InternalLinkGroupBox*>(iObj)) {
if (box->isLink()) { continue; }
}
insertContained((dropId++) - ca_getNumberOfChildren(),
iObj->ref<eBoxOrSound>());
}
Expand Down

0 comments on commit b080ac4

Please sign in to comment.