Commit c96e4443 authored by Ilia Ryabokon's avatar Ilia Ryabokon

Never move UBFeatures outside the UBFeaturesModel

parent 36119103
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment