Never move UBFeatures outside the UBFeaturesModel

preferencesAboutTextFull
Ilia Ryabokon 12 years ago
parent 361191031e
commit c96e44432d
  1. 5
      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

Loading…
Cancel
Save