Gui: minor fix of tree view drag move

This commit is contained in:
Zheng, Lei
2019-09-01 19:30:13 +08:00
committed by wmayer
parent e03e6d9a44
commit d8adbca942

View File

@@ -1418,6 +1418,7 @@ void TreeWidget::dragMoveEvent(QDragMoveEvent *event)
if(!(event->possibleActions() & Qt::LinkAction) || items.size()!=1) {
TREE_TRACE("cannot drop");
event->ignore();
return;
}
}
for(auto ti : items) {