diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index 24d03735..a29e8e63 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -1366,6 +1366,11 @@ void UBBoardView::dropEvent (QDropEvent *event) event->acceptProposedAction(); } } + //prevent features in UBFeaturesWidget deletion from the model when event is processing inside + //Qt base classes + if (event->dropAction() == Qt::MoveAction) { + event->setDropAction(Qt::CopyAction); + } } void