setActiveDocumentScene on mousePressEvent, not on mouseReleaseEvent

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent 3c5d10e04e
commit a252b90828
  1. 5
      src/gui/UBBoardThumbnailsView.cpp

@ -234,11 +234,6 @@ void UBBoardThumbnailsView::mouseReleaseEvent(QMouseEvent *event)
{
mLongPressTimer.stop();
UBDraggableThumbnailView* item = dynamic_cast<UBDraggableThumbnailView*>(itemAt(event->pos()));
if (item)
UBApplication::boardController->setActiveDocumentScene(item->sceneIndex());
QGraphicsView::mouseReleaseEvent(event);
}

Loading…
Cancel
Save